diff --git a/README.md b/README.md index 330d164..78ae541 100644 --- a/README.md +++ b/README.md @@ -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" ```