相关疑难解决方法(0)

如何克隆私有GitLab存储库?

当我这样做:

git clone https://example.com/root/test.git
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

致命:HTTP请求失败

当我使用SSH时:

git clone username git@example.com:root/test.git
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

/server/user/git@example.com:root/test.git/.git/
致命的初始化空Git存储库:'user'似乎不是git存储库
致命:远程端意外挂断

它是一个私有存储库,我添加了SSH密钥.

git github gitlab

31
推荐指数
4
解决办法
13万
查看次数

标签 统计

git ×1

github ×1

gitlab ×1