Situation: You’ve deleted some branches from your online repo but they don’t go away from your “Remotes” section in your Sourcetree sidebar.
So I just discovered how to resolve this and wanted to share the wealth. See below:
1. Click “Repository” in top menu.
2. Click “Fetch”
3. Check the “Fetch from all remotes” box
4. Check the “Prune tracking branches no longer on remote(s)” box <- this is the key option
5. Click OK.
That’s all folks. I hope this helps you as much as it helped me.
Happy Coding! 🤓