Skip to content

Instantly share code, notes, and snippets.

@sixman9
Created November 17, 2010 17:36
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 sixman9/703703 to your computer and use it in GitHub Desktop.
Save sixman9/703703 to your computer and use it in GitHub Desktop.
Piston implements 'Vendor Branching' - link sections of 3rd party versioned code into your project, preserving revisions!
#like svn:externals, only you can update the code!!!!
#install (*nix) - easy! See http://piston.rubyforge.org/
#Assuming BASH
[sudo] gem install piston
#Usage - import remote subtree/directory to required project destination
piston import -v0 [--repository-type git|svn] <url/of/git/or/svn/repository> <destination/directory>
e.g.
piston import -v2 --repository-type svn http://google-web-toolkit.googlecode.com/svn/trunk/ ./gwt-trunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment