原因是git版本太老不持之新API,需要升级一下git:
#安装源 yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm
#安装git yum install git
#更新git yum update git
原因是git版本太老不持之新API,需要升级一下git:
#安装源 yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm
#安装git yum install git
#更新git yum update git