I switched to using SSH for my git repository. Somehow, git is still tracking origin-http though. This is annoying, because whenever I want to checkout a remote branch, I can't just run git checkout <branch-name>
, I have to do remotes/origin/<branch-name>
because there's two repos with that branch name (origin and origin-http)
When I run git remote -v
, I see:
origin (fetch)
origin (push)
origin-http (fetch)
origin-http (push)
If I run git remote remove origin-http
it appears to do nothing. I.e, when I do git remote
right after, it still shows origin-http.
How can I permanently remove origin-http?
For the record, I'm using cmder on Windows10