GitLab克隆项目一直是空目录的问题

前提:git安装上了,项目地址也有,权限也有,ssh公钥都配置上了,一直克隆空目录,还报各种错误(比如连接超时等等)

 

做法:

1、执行ssh-agent bash

2、ssh-add ~/.ssh/id_rsa(如果不执行第一步会报Could not open a connection to your authentication agent.)

3.git clone xxxxx就可以了

posted on 2020-02-03 13:52  青山撞入怀  阅读(2134)  评论(0)    收藏  举报

导航