Github身份验证失败-... GitHub不提供Shell访问 [英] Github Authentication Failed - ... GitHub does not provide shell access

查看:767
本文介绍了Github身份验证失败-... GitHub不提供Shell访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

$ git remote add origin git@github.com:lut/EvolutionApp.git
fatal: remote origin already exists.

$ git push -u origin master
fatal: 'EvolutionApp' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

我的键被成功添加

 $ ssh -T git@github.com
 Hi lut! You've successfully authenticated, but GitHub does not provide shell access.

Github文章 https://help.github.com/articles/generating-ssh-keys/说外壳程序访问"应该不是问题吗?可能是什么问题?

The Github article https://help.github.com/articles/generating-ssh-keys/ says that "Shell access" should not be an issue? What could the problem be?

推荐答案

尝试为远程源重新定义ssh网址:

Try and redefine the ssh url for remote origin:

git remote set-url origin git@github.com:lut/EvolutionApp.git

然后重试

这篇关于Github身份验证失败-... GitHub不提供Shell访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆