cent os 7 默认的 git 是 1.9
的,很不优雅,还是换成 2.x 的比较好
cat /etc/yum.repos.d/wandisco-git.repo <<<EOF [wandisco-git] name=Wandisco GIT Repository baseurl=http://opensource.wandisco.com/centos/7/git/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco EOF rpm --import http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
yum install git -y
本文作者:mereith
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!