问题
1 在CentOS6下的yum安装的git版本是1.7,在克隆gitlab上的代码是会提示401错误、不会自动提示输入账号error: The requested URL returned error: 401 while accessing https://gitlab.com/test/mytest.git/info/refsfatal: HTTP request failed解决:升级git到1.8以上备注:在CentOS7上的yum安装的版本是1.8.3,执行克隆没有问题。2 在使用指定账号密码克隆代码时(https://username:password@gitlab.com/test/mytest.git),如果用户名是邮箱格式,带有@字符,那么需要把@字符转码为%40。3 在克隆项目的时候提示:fatal: unable to access 'https://github.com/noVNC/noVNC.git/': SSL connect error解决方法:yum update -y nss curl libcurl