我想克隆或推送到我們的Gitlab服務器上使用SSH身份驗證的空的存儲庫,但每當我嘗試我要求輸入git密碼(使用Git Bash):Git詢問[email protected]密碼
[email protected] MINGW64 /c/users/myname/dev
$ git clone [email protected]:android/myApp.git
Cloning into 'myApp'...
[email protected]'s password:
我已經試過了密碼並且被管理員給我的Git的密碼,但我得到:
Please make sure you have the correct access rights
and the repository exists.
爲什麼我需要提供此密碼時,我已經加入我的SSH密鑰對項目文件在Gitlab?我錯過了什麼?謝謝!
你有哪裏鑰匙? – Jakuje
我不確定密碼是否是問題。 Git提供者必須認可並批准您的公共證書。 –
@Jakuje我的鑰匙在C:\ Users \ myname \ .ssh – petehallw