“你运行过git update-server-info”吗? Github存储库上的错误
问题描述:
我在他们的网站上使用github Gui管理我的回购站,并且出现以下错误:
I'm using the github Gui from their website to manage my repos, and I'm getting the following error:
fatal: https://github.com/TeaCodie/TeaCodie-Website.git/info/refs not found:
did you run git update-server-info on the server?
如何解决这个问题?
How can I fix this?
答
您可能已更改存储库名称
You might have changed your repository name
在您的本地存储库中编辑文件:
In your local repository edit the file:
.git/config
然后检查:
[remote "origin"]
url =
该网址与您的远程存储库匹配
that the URL matches your remote repository