Browse Source

add --tags to git fetch in manual upgrade

facilitates older `git` fetching tags so that it can actually upgrade properly
Josh Sleeper 7 years ago committed by GitHub
parent
commit
04c27e23fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      README.md

2
README.md

@ -175,7 +175,7 @@ For manual upgrade with `git` (requires git v1.7.10+): @@ -175,7 +175,7 @@ For manual upgrade with `git` (requires git v1.7.10+):
```sh
(
cd "$NVM_DIR"
git fetch origin
git fetch --tags origin
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
) && \. "$NVM_DIR/nvm.sh"
```

Loading…
Cancel
Save