- https://help.github.com/en/articles/configuring-a-remote-for-a-fork
- https://help.github.com/en/articles/syncing-a-fork
old notes:
Git commands
check out pull request as local branch: git fetch origin pull/15169/head:2018-12-parallel-mempool-scriptcheck
diff for just one specific commit: git diff COMMIT~ COMMIT
git blame on deleted file: git log -S path/to/file
check out from fork: $ git fetch : $ git checkout
git remote add sipa https://github.com/sipa/bitcoin/ git fetch sipa gco -b muhash sipa/muhash git push origin muhash git rebase master
SWITCHING SUBTREE If you used git subtree (and not git submodule) to create the subtree, then it's just a normal dir. To switch it to another branch, just delete it and recreate the subtree from the new branch. This is: git rm git commit git subtree add --prefix= <repository_url>
pull update for subtree git subtree pull --prefix src/secp256k1 secp_fab ecmh --squash
update subtree rm -r src/secp256k1/ gaa com 'Remove original secp256k1' git subtree add --prefix src/secp256k1/ https://github.com/fjahr/secp256k1/ ecmh
cherry pick a commit from a different pr git fetch upstream pull/14053/head:add-address-index git cherry-pick specific commit hash