Skip to content

Instantly share code, notes, and snippets.

@bronson
Created May 30, 2009 04:24
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 bronson/120375 to your computer and use it in GitHub Desktop.
Save bronson/120375 to your computer and use it in GitHub Desktop.
# download the command
cd /tmp
wget http://github.com/bronson/git-subtree/raw/6aa0e3e116daafd3292b862555b7a0da81352070/git-subtree
chmod a+x /tmp/git-subtree
# and put another git project as a subtree into myrepo
cd ~/myrepo/
VERBOSE=1 /tmp/git-subtree clone git://blah/subproject.git
# (VERBOSE shows the git commands that it's using)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment