Quantcast
Channel: Ryan Stewart - Mountaineer Coding » ryanstewart
Viewing all articles
Browse latest Browse all 13

Dealing with “fatal: https://github.com/adobe/Source-Code-Pro.git/info/refs not found:”

$
0
0

We recently changed the name of the Source Code Pro repository to follow the typical naming conventions of Github. Because of that you may get the following error when you try to update the code from git:

fatal: https://github.com/adobe/Source-Code-Pro.git/info/refs not found: did you run git update-server-info on the server?

If you get that, it means you need to update your local copy of the repository to point to the new URL. You can see all of your remote repositories by running:

git remote -v

You’ll probably see something like this:

origin	https://github.com/adobe/Source-Code-Pro.git (fetch)
origin	https://github.com/adobe/Source-Code-Pro.git (push)

Then you can run another git remote command to update the URLs to the new lower-case versions:

git remote set-url origin https://github.com/adobe/source-code-pro.git

Run git remote -v again to make sure your origin is set to the new lower-case URL and you’re all set.

Forks

If you’ve forked the repo and added an “upstream” link to the original source so you can track it, instead of origin you’ll want to set-url on the repository pointing to the Adobe source. Usually that’s called upstream but you may have named it something else when you set it up.


Viewing all articles
Browse latest Browse all 13

Trending Articles