Alex Rivera | Logout

"did you run git update-server-info" error on a Github repository

Asked 2012-02-18T17:03:51.430
130

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?

Edit
Report

4 Answers

77

You might have changed your repository name

In your local repository edit the file:

.git/config

Then check:

[remote "origin"]
   url = 

that the URL matches your remote repository

answered 2012-11-06T13:46:32.397
5

Make sure that your user account is added to the repository as a collaborator.

Setting --> Collaborators

answered 2013-06-02T16:48:47.777
2

I met up with the same problem.
How I solved this problem is:
I use git bash to create a new repo, when I typed "git push origin master" It reported

"fatal: https://github.com/TeaCodie/TeaCodie-Website.git/info/refs not found: did you run git update-server-info on the server?"

Finally, I found there was not a repo on the github at all.
You'd better create a new repo first on github.

Maybe this experience can help somebody.

answered 2013-02-24T15:04:55.570
1

I received this same error when I attempted to git clone something from Kiln what was actually a Mercurial repository.

answered 2013-02-06T17:30:04.347

Your Answer