Created
August 11, 2013 12:29
-
-
Save iampersistent/6204679 to your computer and use it in GitHub Desktop.
merging repos
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
git clone (target repo url) | |
cd dir | |
git remote add added (added repo url) | |
git fetch added | |
git pull added master | |
fix conflicts | |
git add -m 'added repo' | |
git push origin master | |
git remote add additional (additional repo url) | |
git fetch additional | |
git pull additional master | |
fix conflicts | |
git add -m 'addtional repo' | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment