git安裝包 阿里鏡像-git-for-windows' is not a git command解決方法

更新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/

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章