Skip to content

Instantly share code, notes, and snippets.

@rxhanson
Forked from bhumphrey/gist:3764983
Last active March 28, 2024 13:17
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save rxhanson/df0f2b49f402ea181f5ed61b20f9cd8d to your computer and use it in GitHub Desktop.
Save rxhanson/df0f2b49f402ea181f5ed61b20f9cd8d to your computer and use it in GitHub Desktop.
Cherry-picking from another fork
git remote add <other-fork-alias> <other-fork-URL>
git checkout <branch>
git fetch <other-fork-alias>
git cherry-pick <commit-hash>
git push <your-fork-alias>
git remote remove <other-fork-alias>
git remote -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment