File differences


I would like to browse commit history of a specific file of my project and visualy side by side difference between two commit.
I can do that easily under the web inteface of Bitbucket (browse source file, select a file and click on diff).



3 answers

1 accepted

This widget could not be displayed.

Just use control-click or command-click (depending on OS) to select two commits.  The bottom half of the screen shows the diff between them.

Screen Shot 2016-01-14 at 9.52.18 AM.png


This is working effectively is the file that you are looking for was modified between selected commits.  If you are looking for modification in a file you have to search commit by commit.
In the Bitbucket interface, you can see for a specific file which commit is impacting.

Thanks for your comment



I think Seth's answer below about "Log Selected" is the way to go then.  It will show you which commits changed a given file and what changes they made.

Screen Shot 2016-01-15 at 9.23.23 AM.png

Screen Shot 2016-01-15 at 9.23.35 AM.png

Is that what you're looking for?

Yessss, Thank-you

This widget could not be displayed.

If you specifically want to see the difference between adjacent commits, you can right-click on the file in SourceTree, and choose "Log Selected..."

If you don't want adjacent commits, it looks like Tim's method of control- or command- clicking commits to see a compiled diff works in the Log Selected window as well. So, "Log Selected..." the file you want, click one commit you want to diff, then control- or command- click the other.

This widget could not be displayed.

I would like to see evolution on specific file along different commit and make difference. As we can do with Bitbucket.  Thank-you


See screenshot in my answer - I think this should give you what you're looking for...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

883 views 2 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