Cloud9 git push - >致命:身份验证失败

Noa*_*ert 10 git github cloud9-ide

Cloud9中,每当我尝试使用终端推送到github存储库时,我都会收到以下错误:

fatal: Authentication failed
Run Code Online (Sandbox Code Playgroud)

我在用

git push origin master
Run Code Online (Sandbox Code Playgroud)

推送到存储库.我在github中添加了我的ssh密钥,这不是问题所在.
在此输入图像描述

Ply*_*yto 13

您可能已将您的repo克隆到Cloud9中.您可能需要将远程源从https更改为SSH,否则身份验证错误将持续存在.

使用Douglas C. Ayers的Cloud9常见问题解答中的解决方案#2 :

git remote set-url origin YOUR_REMOTE_SSH_URL