3
我試圖將現有文件集推送到我創建的新私人回購中。我之前做過這件事,但今天我得到了比平時不同的輸出。將新文件推送到新回購
在推,我得到了以下信息:
Warning: Permanently added the RSA host key for IP address '131.103.20.168' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
首先,我注意到,設立一個新的回購指示已更改爲使用SSH
而不是HTTPS
推到回購:
cd /path/to/my/repo
git remote add origin [email protected]:renovationlabs/cloudcode.git
git push -u origin --all # pushes up the repo and its refs for the first time
git push -u origin --tags # pushes up any tags
現在我遇到了這些警告和錯誤。這是一個SSH
問題,我該如何解決這個問題?