更新git版本時候,好多時候使用
git update
git update-git-for-windows
命令時,會提示:
git: 'update' is not a git command
git: 'update-git-for-windows' is not a git command
原因:2.14.1及之前版本的git 並沒有update這兩個命令
解決方法:重新下載新版本安裝包,覆蓋安裝即可
git官網下載:https://git-scm.com/download/win (特別慢!!)
快速下載阿里鏡像地址:點這裏
**========================================**git安裝包 阿里鏡像,下載速度超快。
網址:https://npm.taobao.org/mirrors/git-for-windows/