I’ve just created a new Github repository, but apparently forgot to allow Github to create the README and so on with which it helpfully offers to initialize the repository.
I attempted to create this locally and push it with the following commands:
git remote add origin
git push -u origin master
However, it keeps giving me the error:
https://github.com/Arkaaito/<repo>/info/refs not found: did you run git update-server-info on the server?
I don’t know how to run git update-server-info on Github because Github does not provide shell access via ssh; there’s got to be some UI option for it somewhere, but I don’t know where. Can anyone help me find the blindingly obvious?
Could you post the result of
git remote show originFrom the looks of the error you got, you simply forgot to include the repo name after your username…Also, the error is mentioned on this GitHub help article as the result of using a really old version of git or not having push access to a repo. (It can also be the result of an incorrect remote origin URL, for instance a URL with incorrect capitalization.)
EDIT: Just noticed that it was the formatting that made
<repo>appear blank, it’s most likely that you just have an older version of git, so update.