There are 2 ways you can achieve that.
1. Either go to bitbucket/github where your remote is hosted and delete remote branches there. Then, push your local branches to remote and that will bring your remote branches to same place as your local branches.
2. you can hard push/forced push it. Sourcetree does not allow forced push so this you have to do from terminal. You can run `git push -ff origin <local_branch_name>
if you want to do it from sourcetree only you have to enable force push option from settings details are found in this post
To be safe just switch to that particular branch on local and then run `git push -ff origin`
Hope this helps.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events