
问题
1 在CentOS6下的yum安装的git版本是1.7,在克隆gitlab上的代码是会提示401错误、不会自动提示输入账号 error: The requested URL returned error: 401 while accessing https://gitlab.com/test/mytest.git/info/refs fatal: 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