Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Highlight commits on current branch

Is there any way to make SourceTree highlight all the commits that are included in my currently selected branch (or gray out those that aren't)? 

I'm often faced with 10+ simultaneous branches from different team members that have been merging and branching. I want a way to quickly see which commits are NOT in my current branch. 

I know I can make it display only the commits from my current branch, but that doesn't help me much. I'm looking for a way to see all commits from all branches, but somehow be able to see at a glance which aren't yet in my current branch.

Seeing how SourceTree is a visual tool, this seems like a very useful feature to have.

1 answer

0 votes
Manju Atlassian Team Jul 23, 2018

on Sourcetree for macOS you can use the popup button on the left side above the commit graph table to select "Current branch" to show the commits only for your current branch. 

Yes, I mentioned that option, but that shows my what IS in my current branch by hiding the things that AREN'T. What I'm looking for is a way to quickly see what's NOT in my current branch, so I can easily see if I've missed a merge somewhere down' the line.

Especially when working with multiple developers in branches that interleave somewhat it can be hard to quickly discern if there are commits that you don't have merged yet. By providing an easy way to see them, by for instance showing them slightly greyed out, it's easy to glance at the repository and see if you may have missed something.

Hi Robert,

unfortunately there is no way of doing this in sourcetree besides doing it manually to verify if all lets call them 'patches' are included in your current branch. Even if this feature would have been available (graphically) there is no way of knowing if all patches even were implemented during a merge, as in a merge you could chose to discard lines. The end result will show up as merged but still meant changes could be open (for instance when the branch remains open and later merge is again required). I hope this at lease answer your question although it doesn't fulfill your expectation.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events