windows更新git版本,git版本升级

时间:2020-08-05 00:36:36   收藏:0   阅读:122

1.先查看当前安装的git版本

git --version

2.更新

git版本是2.17.1之前的,使用

git update

git版本是2.17.1之后的,使用

git update-git-for-windows

3.版本是2.14.1的,会报错

git: ‘update‘ is not a git command

git: ‘update-git-for-windows‘ is not a git command

解决方法:重新下载新版本安装包,覆盖安装即可

4.镜像下载

git官网下载:https://git-scm.com/download/win   (特别慢!!)

git安装包 阿里镜像,下载速度超快。

网址:https://npm.taobao.org/mirrors/git-for-windows/

原文:https://www.cnblogs.com/tu240302975/p/13437053.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!