Created
July 17, 2016 16:46
-
-
Save thpoiani/d4cc43489e73cd167ea0423860b257ab to your computer and use it in GitHub Desktop.
Git Submodules
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 submodule add MODULE module | |
# git config --global diff.submodule log | |
git clone SUBMODULE | |
git submodule init | |
git submodule update | |
# or | |
git clone --recursive MODULE | |
git submodule update --remote | |
git config -f .gitmodules submodule.MODULE.branch develop | |
git submodule update --remote |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment