Origin of repo I'm working on has hundreds of branches.
I ran a git fetch
by accident once and now I have hundreds of remote tracking branches.
I want to delete all the remote tracking branches. I don't want to delete the branches on origin, only the remote tracking branches on my local environment. I also have local branches which I'm managing and don't want the remote tracking branches of my local branches to be deleted.
How do I do this?