Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Cloud9 git推送->;致命:身份验证失败_Git_Github_Cloud9 Ide - Fatal编程技术网

Cloud9 git推送->;致命:身份验证失败

Cloud9 git推送->;致命:身份验证失败,git,github,cloud9-ide,Git,Github,Cloud9 Ide,在中,无论何时尝试使用终端推送到github存储库,都会出现以下错误: fatal: Authentication failed 我正在使用 git push origin master 推送到存储库。我在github中添加了ssh密钥,所以这不是问题。 您可能已将回购协议克隆到Cloud9中。 您可能需要将远程来源从https更改为SSH,否则身份验证错误将持续存在 从以下位置使用解决方案#2: git-remote-set-url-origin您的\u-remote\u-SSH\u-ur

在中,无论何时尝试使用终端推送到github存储库,都会出现以下错误:

fatal: Authentication failed
我正在使用

git push origin master
推送到存储库。我在github中添加了ssh密钥,所以这不是问题。

您可能已将回购协议克隆到Cloud9中。 您可能需要将远程来源从https更改为SSH,否则身份验证错误将持续存在

从以下位置使用解决方案#2:

git-remote-set-url-origin您的\u-remote\u-SSH\u-url