Created
August 26, 2020 13:40
-
-
Save wingkwong/2c4db22c61f235f95ea8c794f98a155c to your computer and use it in GitHub Desktop.
Merging other repositories to an existing one
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 remote add -f foo https://github.com/wingkwong/foo.git | |
git remote add -f bar https://github.com/wingkwong/bar.git | |
git remote add -f baz https://github.com/wingkwong/baz.git | |
git merge foo/master --allow-unrelated-histories | |
git merge bar/master --allow-unrelated-histories | |
git merge baz/master --allow-unrelated-histories |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment