Created
March 31, 2019 04:21
-
-
Save jimmyhoran/cf2ba2eec5dffcc9001f5c72269479fc to your computer and use it in GitHub Desktop.
Copy git commits across repositories
This file contains hidden or 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
/path/to/1 $ git format-patch sha1^..sha1 | |
/path/to/1 $ cd /path/to/2 | |
/path/to/2 $ git am -3 /path/to/1/0001-…-….patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment