mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Correction with the update.
This commit is contained in:
parent
592c0be195
commit
226aae8b67
@ -175,6 +175,7 @@ For manual upgrade with `git` (requires git v1.7.10+):
|
|||||||
```sh
|
```sh
|
||||||
(
|
(
|
||||||
cd "$NVM_DIR"
|
cd "$NVM_DIR"
|
||||||
|
git pull
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
|
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
|
||||||
) && \. "$NVM_DIR/nvm.sh"
|
) && \. "$NVM_DIR/nvm.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user