git-vendor(1) -- manage vendored dependency subtrees ================================ ## SYNOPSIS `git-vendor add ` `git-vendor list` `git-vendor update ` ## DESCRIPTION Manage any repository dependencies under `/vendor/` 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. ## COMMANDS 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 ## OPTIONS <repository> The repository url to vendor. e.g. `https://github.com//` (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//`. ## EXAMPLES 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 ## AUTHOR Written by Brett Langdon ## REPORTING BUGS <> ## SEE ALSO <>