mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 14:51:49 +00:00
Switch from pull to fetch in the manual update guide
This commit is contained in:
parent
91c77c6ba8
commit
9106cc25a4
@ -73,7 +73,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 fetch origin && git checkout `git describe --abbrev=0 --tags`
|
||||||
|
|
||||||
After upgrading, don't forget to activate the new version:
|
After upgrading, don't forget to activate the new version:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user