File differences
Asked by Andre Lenoir:

Hello,

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).

Thank-you

[](https://community.atlassian.com/t5/Sourcetree-questions/File-differences/qaq-p/321407?attachment-id=8387){#link_1169b0f85d440c}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/9721/1/Screen%20Shot%202016-01-15%20at%209.23.35%20AM.png){#display_1169b0f85d440c_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/File-differences/qaq-p/321407?attachment-id=8388){#link_1169b0f85d440c_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/9721/2/Screen%20Shot%202016-01-15%20at%209.23.23%20AM.png){#display_1169b0f85d440c_2}  
[](https://community.atlassian.com/t5/Sourcetree-questions/File-differences/qaq-p/321407?attachment-id=8389){#link_1169b0f85d440c_1}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/9721/3/Screen%20Shot%202016-01-14%20at%209.52.18%20AM.png){#display_1169b0f85d440c_4}


Answers:
author: Tim Crall
body: 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  
[](https://community.atlassian.com/t5/Sourcetree-questions/File-differences/qaq-p/321407?attachment-id=8609){#link_1169b0fdea58a9}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/9722/1/Screen%20Shot%202016-01-14%20at%209.52.18%20AM.png){#display_1169b0fdea58a9_0}

comments: author: Andre Lenoir
body: Hello,

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


author: Tim Crall
body: 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?


author: Andre Lenoir
body: Yessss, Thank-you


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

comments: author: Seth
body: 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.


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

2016-01-14_08-42-23.png  
[](https://community.atlassian.com/t5/Sourcetree-questions/File-differences/qaq-p/321407?attachment-id=12507){#link_1169b11a66ecb1}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/9724/1/2016-01-14_08-42-23.png){#display_1169b11a66ecb1_0}

comments: author: Tim Crall
body: See screenshot in my answer - I think this should give you what you're looking for...