更新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
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论