Skip to content

Instantly share code, notes, and snippets.

@jtdp
Created April 23, 2013 13:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtdp/5443429 to your computer and use it in GitHub Desktop.
Save jtdp/5443429 to your computer and use it in GitHub Desktop.
Cloning a git repository with submodules
# 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