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?
probably you were trying to clone like this:
git clone https://github.com/TeaCodie/TeaCodie-Website.git
Then you got this error:
fatal: https://github.com/TeaCodie/TeaCodie-Website.git/info/refs not found: did you run git update-server-info on the server?
Here is what worked for me:
git clone https://github.com/TeaCodie/TeaCodie-Website.git/.git
because the directory "info/refs" is in the .git directory.
You might have changed your repository name
In your local repository edit the file:
Then check:
that the URL matches your remote repository
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.
Also make sure the repo you've entered is cased correctly (it's case sensitive).
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://TeaCodie@github.com/TeaCodie/TeaCodie-Website.git , i.e. with a username specified?
I got this issue when using GitStack. I looked into C:/GitStack/apache/logs/error.log and found that GitStack was looking for the repository in the wrong location although its settings said D:/Repositories (my custom location), GitStack looked for the repositories in its default location. So I simply went and save the settings again from GitStack admin page. It solved the problem.