-
-
Save gsheasby/83f35c484cc7540e7e69e2c53477dfea to your computer and use it in GitHub Desktop.
Cherry-picking from another fork
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout <branch> | |
git remote add <other-fork-alias> <other-fork-URL> | |
git fetch <other-fork-alias> | |
git log <other-fork-alias>/<branch> | head -n1 | cut -d ' ' -f 2 | xargs git cherry-pick | |
# git cherry-pick <commit-hash> | |
git push -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment