How do I remove deleted Git branches from Visual Studio 2015

I had remote branches that would not go away even after they were deleted on the server. This tip about setting “Prune remote branches” worked for me. I found it here.

Go to Team Explorer, and click Home button. Then Settings > Repository
Settings, and set “Prune remote branches during fetch” drop-down to
True. Don’t forget to click “Update” button to save your edit.

After changing the setting I did a fetch on one of the deleted branches and all of the deleted branches disappeared.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)