Is there a handy way to get my local git repo to forget about remote branches that have been deleted? git svn fetch doesn\'t \"re-sync everything\" like I hoped it
git svn fetch
You can remove orphaned remote branches by executing the following commands:
git branch -d -r my_branch rm -rf .git/svn/refs/remotes/my_branch
To remove all orphaned branches at once rather than one at a time, see the answer here.