我在Ubuntu 18.04上将GitLab安装为VM。我添加了SSH密钥。当我尝试克隆
git clone git@192.168.50.10:johnholmes/helloworld2.git
Cloning into 'helloworld2'...
The authenticity of host '192.168.50.10 (192.168.50.10)' can't be established.
ECDSA key fingerprint is SHA256:f5ZhPsTYy3qV4aaRuct7ycOgB/CuC3MbD8QAgqYYp2A.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.50.10' (ECDSA) to the list of known hosts.
git@192.168.50.10's password:
Permission denied, please try again.
或者我应该克隆到vagrant@gitlab:~$
我想克隆空仓库,添加文件并学习GitLab。
答案 0 :(得分:0)
问题不在您要克隆的位置。这就是您在git服务器上的访问权限。
选项1-使用Git GUI
选项2-仅使用命令行