Skip to content

Instantly share code, notes, and snippets.

@gopperman
Last active September 7, 2015 15:56
Show Gist options
  • Save gopperman/a726400ff407c5175663 to your computer and use it in GitHub Desktop.
Save gopperman/a726400ff407c5175663 to your computer and use it in GitHub Desktop.
Just some basic commands for git submodules

Add a submodule

git submodule add https://github.com/chaconinc/DbConnector

Pull each submodule

git submodule foreach git pull origin master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment