Skip to content

Instantly share code, notes, and snippets.

@patriciogonzalezvivo
Last active August 29, 2015 14:05
Show Gist options
  • Save patriciogonzalezvivo/a903af3e4d4e749188c1 to your computer and use it in GitHub Desktop.
Save patriciogonzalezvivo/a903af3e4d4e749188c1 to your computer and use it in GitHub Desktop.

First :

git submodule add ...

Then:

git clone ...
git pull && git submodule init && git submodule update && git submodule status
git submodule foreach git checkout master
git submodule foreach git pull

Or:

git clone --recursive git://github.com/foo/bar.git
git submodule foreach git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment