Specify tags option on git upgrade

This commit is contained in:
Whitney Young 2016-01-29 17:45:25 -08:00
parent 754a0d7c5b
commit 963a97bdb8
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ Add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it
For manual upgrade with `git`, change to the `$NVM_DIR`, pull down the latest changes, and check out the latest version: For manual upgrade with `git`, change to the `$NVM_DIR`, pull down the latest changes, and check out the latest version:
cd "$NVM_DIR" && git pull origin master && git checkout `git describe --abbrev=0 --tags` cd "$NVM_DIR" && git pull origin master --tags && git checkout `git describe --abbrev=0 --tags`
## Usage ## Usage