Created
August 30, 2018 21:44
-
-
Save pocheptsov/cf41f87fcd7ae52a5d986c67f5f65c1f to your computer and use it in GitHub Desktop.
Merging Git Repositories Into Another Repository Subfolder
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 remote add -f js-tests [email protected]:cambridgebrainsciences/js-tests.git | |
git merge --no-commit -s ours js-tests/master | |
git read-tree --prefix=frontend/tests -u js-tests/master | |
git commit -m "Subtree merged in frontend/tests" | |
git remote remove js-tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment