Skip to content

Instantly share code, notes, and snippets.

@bulain
Created September 17, 2011 05:59
Show Gist options
  • Save bulain/1223670 to your computer and use it in GitHub Desktop.
Save bulain/1223670 to your computer and use it in GitHub Desktop.
git submodule
# add submodule web-static
git submodule add git@github.com:bulain/web-static.git src/main/webapp/web-static
git submodule add git@github.com:bulain/migration.git src/migration
# fetch submodule from remote
git submodule init
git submodule update
git submodule foreach git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment