Reputation: 26450
I'm getting suddenly this error when I try to pull changes from repository:
git pull
fatal: http://guthub.com/msalsas/BunchOfColors/info/refs not valid: is this a git repository?
Seems to be a typo ("guthub"), because if I do it in this way:
git pull http://github.com/msalsas/BunchOfColors
it works. The thing is that I don't know what could cause this problem and how to solve it. I've been working with this repo before and pulling changes without any problem.
Upvotes: 0
Views: 125
Reputation: 24508
It's mostly likely a typo in your remote configuration. Assuming that it's called origin
(the default), you can fix it with:
git remote set-url origin http://github.com/msalsas/BunchOfColors
Or fix it by hand by editing the offending line in .git/config
.
Upvotes: 3