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.
Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going. The ...
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