+-
首页 专栏 git 文章详情
过北踏居 发布于 3 月 4 日
关注作者
关注作者

0
更新CentOS自带的 Git 版本( Git 2.x )
由于centos自带的git版本过低,导致使用过程中会出现连接远程仓库超时等问题,故需升级git版本。
参考链接
https://computingforgeeks.com...
检查git版本
git --version**
删除git
yum remove git*
安装最新版本
yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm
yum install git
git centos github
阅读 26 更新于 3 月 4 日
赞
收藏
分享
本作品系原创, 采用《署名-非商业性使用-禁止演绎 4.0 国际》许可协议
过北踏居
16 声望
1 粉丝
0 条评论
得票 时间
提交评论
过北踏居
16 声望
1 粉丝
宣传栏
目录
▲
由于centos自带的git版本过低,导致使用过程中会出现连接远程仓库超时等问题,故需升级git版本。
参考链接
https://computingforgeeks.com...
检查git版本
git --version**
删除git
yum remove git*
安装最新版本
yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm
yum install git