首页 > Windows开发 > 详细

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

时间:2020-08-05 00:36:36      阅读:124      评论:0      收藏:0      [点我收藏+]

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/

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!