We use the git flow branching model, and I'm happy to see support for it in SourceTree and I make good use of it there. In this branching model, I find myself accumulating many feature branches (one corresponding to each of our JIRA issues), and after completing the feature I usually issue a pull request to have it merged into our main "develop" branch. However, what happens is I end up accumulating lots of feature branches that eventually have to all be deleted once they've been merged.
Is there a way to select several branches at once and ask SourceTree to delete all of them in one go? Ideally, it would delete all the ones for which git issued no warnings and skip those which produced warnings (because I don't want to accidentally delete any branches that haven't yet been merged).
Actually there is a bulk delete branch option, it's just not that obvious :/
If you click the 'Branch' button, there's an extra tab labelled 'Delete Branches' where you can check the ones you want to delete (local or remote) and delete them all at once.
+1 @Blue Raja comment. I've just had to click 250 something times to delete all my local branches and remote branches. I'd have thought this sort of bulk housekeeping is exactly the use case for something like SourceTree. Can't you turn it into a clicking game like Farmville! Or better still add a filter / select all...
A vulnerability has been published today in regards to Sourcetree for Windows. The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...
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