Git推送错误:找不到存储库 [英] Git Push ERROR: Repository not found
本文介绍了Git推送错误:找不到存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对 git
和 github
有一个很奇怪的问题。当我尝试推送时,我得到:
git push -u origin master
错误:找不到存储库。
致命:远程终端意外挂起
我添加了远程:
git remote add origin git@github.com:account-name / repo-name.git
有什么想法?
解决方案检查是否您有读写权限。
Git错误信息具有误导性。我有类似的问题。我已被添加到一个现有的项目。我克隆它并进行本地更改。我去推动并得到
错误:找不到存储库。
错误消息。
将我添加到该项目给了我对存储库的只读访问权限。由他们改变,我能够推动。
I am having a very strange problem with
git
andgithub
. When I try and push, I am getting:git push -u origin master ERROR: Repository not found. fatal: The remote end hung up unexpectedly
I added the remote:
git remote add origin git@github.com:account-name/repo-name.git
Any ideas?
解决方案Check to see if you have read-write access.
The Git error message is misleading. I had a similar issue. I had been added to an existing project. I cloned it and committed a local change. I went to push and got the
ERROR: Repository not found.
error message.The person who added me to the project gave me read-only access to the repository. A change by them and I was able to push.
这篇关于Git推送错误:找不到存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文