Skip to content

Instantly share code, notes, and snippets.

@uniomni
Created January 27, 2011 06:48
Show Gist options
  • Save uniomni/798173 to your computer and use it in GitHub Desktop.
Save uniomni/798173 to your computer and use it in GitHub Desktop.
Submodules example
Example: Including an existing repository as a submodule
git add [email protected]:uniomni/riab_server.git submodules/riab_server
# These seem to be only necessary after a fresh clone of the super project
cd submodules/riab_server
git submodule init
git submodule update
# Here's a great example going through submodules:
http://woss.name/2008/04/09/using-git-submodules-to-track-plugins/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment