Created
April 23, 2013 13:09
-
-
Save jtdp/5443429 to your computer and use it in GitHub Desktop.
Cloning a git repository with 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
# clone the repository | |
git clone <remote-url> | |
# cd into the directory created | |
cd <dir> | |
# init submodules | |
git submodule init | |
# update submodules - this is where the code is pulled in | |
git submodule update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment