I recently made some changes to my remote repositories in my Git repo configuration file. I renamed the deleted names, changing my origin to another remote repo and renaming my old origin.
For example, I had this before:
[remote "origin"]
url = blah blah
[remote "future"]
url = blah blah
I went in and changed them to look like this:
[remote "old-origin"]
[remote "origin']
But now, when I type git branch -a, I see the branches listed from the old "future" console:
remotes/origin/HEAD
remotes/origin/branch1
remotes/origin/branch2
remotes/future/branch1
remotes/future/branch2
remotes/old-origin/master
remotes/old-origin/branch3
I used a draft, as well as a selection, etc., but this list is simply not updated. I did a search in my configuration file for the “future”, and nothing came of it. Are there any commands that I can run to update this list and stop looking at a nonexistent remote?