Browse Source

update readme

pull/3/head
Brett Langdon 10 years ago
parent
commit
8a918ebf78
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      README.md

+ 4
- 2
README.md View File

@ -11,10 +11,12 @@ A work in progress git command for managing golang vendor dependencies.
* `git vendor update <dir> <ref>` - update a vendored dependency to `<ref>`.
## Installation
```
(wget -O /usr/local/bin/git-vendor https://raw.githubusercontent.com/brettlangdon/git-vendor/master/git-vendor && chmod +x /usr/local/bin/git-vendor)
```
## Example
Checkout github.com/brettlangdon/forge@v0.1.6 under vendor/github.com/brettlangdon/forge
Checkout `github.com/brettlangdon/forge@v0.1.6` under `vendor/github.com/brettlangdon/forge`
```
$ git vendor add https://github.com/brettlangdon/forge v0.1.6
git fetch https://github.com/brettlangdon/forge v0.1.6


Loading…
Cancel
Save