From f2acd3cf09e374cfd359fc2e3e3f1879ab083d31 Mon Sep 17 00:00:00 2001 From: Alpha Date: Mon, 22 Aug 2022 17:24:20 +0800 Subject: [PATCH] Doc: simplify git cmd for upgrade & checkout version (#242) --- INSTALL.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index d5b41f16..84b2cce1 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -114,13 +114,12 @@ upgrade your installation at any time using git. To upgrade to the latest development version of goenv, use `git pull`: - cd ~/.goenv - git pull + cd ~/.goenv && git fetch --all && git pull To upgrade to a specific release of goenv, check out the corresponding tag: cd ~/.goenv - git fetch + git fetch --all git tag v20160417 git checkout v20160417