0

I did push origin master and after that I have an error:

$ git push origin master

fatal: https://github.com/myusername/my-first-project-test.git/info/refs not found: did you run git update-server-info on the server?

I did:

$ git update-server-info

but it doesn't help at all.

Luca Geretti
  • 10,206
  • 7
  • 48
  • 58
AquaVita
  • 293
  • 4
  • 6
  • 10
  • Clicking that link leads to "Repository not found." Are you sure this is a valid repository? – Jay Sullivan Jun 13 '12 at 15:36
  • i.e. have you created that repository on github yet? – three Jun 13 '12 at 15:37
  • I'm very sure, and it's must be Rep Not Found, caz I wrote an example (not real nickname and repo). – AquaVita Jun 13 '12 at 15:37
  • My Real Repo and Nickname returns me this fatal error. If it's so means I can post real data, but there is only a 1 single file called README. With Hello, World! – AquaVita Jun 13 '12 at 15:38

1 Answers1

6

This seems to be an authorization problem.

I would suggest you try to use the ssh protocol rather than https:

git@github.com:<user>/<reponame>.git 

(source)

Also, make sure that in your global .gitconfig you have

[http]
      sslVerify = true

You can fix that from the command line by issuing

git config --global http.sslVerify true

(source)

Community
  • 1
  • 1
Luca Geretti
  • 10,206
  • 7
  • 48
  • 58
  • yes. Thank you Geretti it was auth problem really. Can't vote know. – AquaVita Jun 16 '12 at 04:36
  • Glad to be of help. Was there something more specific you had to do to solve your problem? If you post it here as a comment, it can provide a more accurate solution to the future reader. – Luca Geretti Jun 16 '12 at 09:08
  • Sure, I had a second account for github, that I've created long time ago, and forgot about him, so thats why was a confuse between old and new .ssh keys. So I did new .ssh key to resolve a conflict, but seems another 1 issue, what if I want to use both account? – AquaVita Jun 18 '12 at 08:02
  • Never tried that actually, be there are some questions in SO related to your problem: [GitHub two accounts](http://stackoverflow.com/search?q=github+two+accounts) – Luca Geretti Jun 18 '12 at 20:40