“你运行过git update-server-info”吗? Github存储库上的错误 [英] "did you run git update-server-info" error on a Github repository

查看:515
本文介绍了“你运行过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

这篇关于“你运行过git update-server-info”吗? Github存储库上的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆