Last active
November 28, 2017 07:16
-
-
Save allenyang79/ae47c31b88712443bef3363c46387682 to your computer and use it in GitHub Desktop.
[uprade nvm] #nvm #bash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( | |
cd "$NVM_DIR" | |
git fetch origin | |
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" origin` | |
) && . "$NVM_DIR/nvm.sh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment