git-vendor add <repository> <ref>
git-vendor list
git-vendor update <dir> <ref>
Manage any repository dependencies under /vendor/<repository> with git-subtree.
git-vendor is unable to list or update any dependencies it has not added, the reason is that git-vendor adds special commit messages so that it can track existing dependencies.
add <repository> <ref>
Add a new vendored dependency
list
List all existing vendored dependencies and their current version
update <dir> <ref>
Update the vendored dependency to a different version
<repository>
The repository url to vendor. e.g. https://github.com/<username>/<repo-name> (supports http://, https:// git:// and git@ protocols).
<ref>
The ref to vendor. e.g. master, v1.0.2, etc
<dir>
The vendor directory for the dependency. e.g. vendor/github.com/<username>/<repo-name>.
Adding a new dependency:
$ git vendor add https://github.com/brettlangdon/forge v0.1.4
Updating an existing dependency:
$ git vendor update vendor/github.com/brettlangdon/forge v0.1.7
List all existing dependencies:
$ git vendor list
Written by Brett Langdon me@brett.is
<https://github.com/brettlangdon/git-vendor/issues>