git 安装及常见问题处理

卸载掉自带的:

  yum remove git

安装:

  yum -y install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker

  接着

  https://github.com/git/git/blob/master/INSTALL

问题及解决方式:

[root@ game_root_api]# git push -u origin master
fatal: unable to access 'https://github.com/xinweihao/xwhgame_rout.git/': Peer reports incompatible or unsupported protocol version.
[root@ game_root_api]# yum update -y nss curl libcurl
上一篇:Ext JS添加子组件的误区


下一篇:使用Comparable接口自定义排序