git
oiey2016
这个作者很懒,什么都没留下…
展开
-
git报错 unable to access 'https://****': SSL certificate problem: Invalid
如果连接git是报错unable to access ‘https://****’: SSL certificate problem: Invalid 因为有些服务器是https是自签名的. 所以在命令行上运行 git config --global http.sslVerify false 将安全验证关掉 作者:大大大大大桃子 来源:CSDN 原文:https...转载 2019-05-19 13:49:30 · 4559 阅读 · 0 评论 -
CentOS 7 安装Git
服务器端 1.先从yum安装git yum –y install git 2.在需要的位置创建一个裸仓库(最后以.git结尾) cd /usr/local mkdir git cd git git init --bare learngit.git 3.创建一个git用户并赋予密码 useradd git passwd git 4.赋予git用户权限 chown -R git:git learngi...转载 2019-05-18 21:38:46 · 185 阅读 · 0 评论