How do I hide merged remote branches in Sourcetree?

Using Git-Flow you end up with a lot of feature branches. In order to have a better overview I'd like to hide the ones that are merged. Is this possible?

1 answer

Usually, we close the head and delete the source feature brach after it is merged into the main repo/branch.

Won't you lose the feature branch name in your history that way?

I believe the branch name is not that significant (however this is totally opinion based), only the commit is important and you are appropriately credited as the author of that commit post-merge in the main branch. Also the merge comment usually includes "merged some-repo/some-branch into main-repo/main-branch". I guess there is nothing to lose. What else do you think? Let me know if I am missing something!

Commits are important, and you are indeed right about the commit message including the name of the branch. We however do like the labels that Sourcetree(and bitbucket) adds for clarity. We would be happier if we could hide, or sort them based on their "merged" / "not-merged" state.

Regarding this, I have a feature request open at JIRA https://jira.atlassian.com/browse/SRCTREE-2977, vote it if that matches your needs or create your own at jira.atlassian.com

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

274 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot