Git 推送错误:未找到存储库 [英] Git Push ERROR: Repository not found
本文介绍了Git 推送错误:未找到存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在使用 git
和 github
时遇到了一个非常奇怪的问题.当我尝试推动时,我得到:
I am having a very strange problem with git
and github
. When I try and push, I am getting:
git push -u origin master
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
我添加了遥控器:
git remote add origin git@github.com:account-name/repo-name.git
有什么想法吗?
推荐答案
检查您是否具有读写权限.
Check to see if you have read-write access.
Git 错误消息具有误导性.我有一个类似的问题.我已被添加到现有项目中.我克隆了它并提交了本地更改.我去推送并收到 ERROR: Repository not found.
错误消息.
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屋!
查看全文