作者热门文章
- r - 以节省内存的方式增长 data.frame
- ruby-on-rails - ruby/ruby on rails 内存泄漏检测
- android - 无法解析导入android.support.v7.app
- UNIX 域套接字与共享内存(映射文件)
我收到这个错误 -
D:\Projects\wamp\www\REPO [master]> git pull origin master
Warning: Permanently added 'github.com,192.30.252.128' (RSA) to the list of known hosts.
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git remote -v的输出
D:\Projects\wamp\www\REPO [master]> git remote -v
origin git@github.com:username/repo.git (fetch)
origin git@github.com:username/repo.git (push)
ssh -Tv git@github.com 命令的最终消息 -
Hi [My Username]! You've successfully authenticated, but GitHub does not provide shell access.
我该如何解决?
最佳答案
通过远程“来源”的 http url 更改您的 ssh url,使用:
> git remote set-url origin https://github.com/<user_name>/<repo_name>.git
它会在 git push 上询问你的 GitHub 密码。
关于Git : fatal: Could not read from remote repository. 请确保您具有正确的访问权限并且存储库存在,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30068298/
我是一名优秀的程序员,十分优秀!