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
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
If you specifically want to see the difference between adjacent commits, you can right-click on the file in SourceTree, and choose "Log Selected..."
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
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.
See screenshot in my answer - I think this should give you what you're looking for...
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
It looks like you're new here. Sign in or register to get started.