"did you run git update-server-info" error on a Github repository
Solution 1
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
Solution 2
Did you create a new repository on the http://github.com with the same name
?
If not, do it! And make sure each letter is correct and case sensitive.
Solution 3
In my case my github account did not have permissions to the repo. Added the github account as a collaborator for the repo and that fixed it.
Solution 4
This error mostly caused by WRONG URL, please check:
- http or https
- URL Name
- username@git_url
- wrong git name
Solution 5
It looks like that's a private (or deleted) repository; if you visit the repository page while logged it'll give you the real URL, which'll probably be https://[email protected]/TeaCodie/TeaCodie-Website.git , i.e. with a username specified?
Paul
Updated on July 14, 2020Comments
-
Paul almost 4 years
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?
-
Paul about 12 yearsUSER ERROR...i think i have sorted it now...but thats for your help
-
Tyler over 11 yearsPlease explain what it was
-
Enrichman over 11 yearsThanks, this was my case. I've changed my username from "Enrichman" to "enrichman"!
-
sglessard about 11 yearsSame here : was trying to clone an SVN repository by mistake.
-
Abbas Gadhia almost 11 yearsyes! this was the solution. i was pulling off a deleted repository. someone silently deleted the repo without informing me :P
-
AdityaSaxena over 10 yearsthank you. exactly my problem and this solution worked.
-
Arjun Mehta about 10 yearsWith newer versions of git you can do this from the command line: git remote set-url origin [email protected]:repoaccountname/repo-name.git
-
Camille Goudeseune about 9 years"did you run git update-server-info..." is a less useful question to ask than "did you misspell the repo".