Last active
June 20, 2018 07:59
-
-
Save grigorye/7484733 to your computer and use it in GitHub Desktop.
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
# adding remote | |
git remote add module [email protected]:user/module.git | |
# updating remote | |
git fetch module | |
# updating remote (tag) | |
git fetch Weaver 0.9.9 | |
# adding subtree (master) | |
git subtree add -P module --squash -m "Added module as a subtree." module/master | |
# adding subtree (tag) | |
git subtree add -P GitSubtrees/Weaver --squash -m "Added Weaver 0.9.9 as a subtree." Weaver 0.9.9 | |
# merging subtree changes | |
git subtree merge -P module --squash -m "Merged changes from module." module/master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment