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
然后重试