Created
September 24, 2020 21:39
-
-
Save jesusgoku/6d3f061e130b28a61e0c34cbbb685457 to your computer and use it in GitHub Desktop.
Cherry Pick commit from another repository. Reference: https://stackoverflow.com/questions/5120038/is-it-possible-to-cherry-pick-a-commit-from-another-git-repository
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 --git-dir=../<some_other_repo>/.git \ | |
format-patch -k -1 --stdout <commit SHA> | \ | |
git am -3 -k |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment