0

I am adding a remote repository like this

git remote add pythonic https://github.com/sanfx/pythonic.git

but I get this error saying

fatal: https://github.com/sanfx/pythonic.git/info/refs not found: did you run git update-server-info on the server?

Previously when I did git push -f python3_ver2 added a remote branch even though I didn't have it on github.com.

What am I missing in adding a remote branch?

Bart
  • 19,692
  • 7
  • 68
  • 77
Ciasto piekarz
  • 7,853
  • 18
  • 101
  • 197

1 Answers1

1

That error simply means that Git cannot find the repository you are trying to add. This can be either because it simply does not exist on GitHub, or because it is a private repository where you don’t have access to.

If you go to https://github.com/sanfx/pythonic, you can see that GitHub is returning a 404 for the repository.

So please double check that the repository name is actually correct and that you have the necessary access rights.

poke
  • 369,085
  • 72
  • 557
  • 602