"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