SourceTree Windows: git diff branch1:file branch2: file

Via the Commandline it is possible to get the diff between a file from branch1 and branch2. Is this currently possible in SourceTree for Windows?

2 answers

1 accepted

0 votes
Accepted answer

Added Feature Requst in jira.

Yes, you can display a diff between any 2 points in history by Ctrl-clicking the 2 commits in the log view. You can also get a shortcut to diffing between any other point in history and your current state by right-clicking in the sidebar or the log and selecting 'Diff against current'.

Do you have a screenshot for the second method? I can't find it.

Actually it's just on items in the sidebar (branches, tags), not in the log list, sorry. Right-click another branch or a tag for example and select 'Diff Against Current'.

Ok, this works for me. But our repository gets many changes each day and its a bigger repository, so the list of file changes is verly long. And currently there is no search edit or something like this. Can this be added or a right click option like "Blame Selected"?

Like "Diff against branch" and than a submenu with the branches?

Any updates on my suggestion?

Hey Lars,

You can always file this as a feature request on, we read all requests on there and they're filed in a place which we use to develop SourceTree. The project for Windows is SRCTREEWIN and for Mac it's SRCTREE. If you file it with as much detail as you can then it makes it easier for us to review them.

Hope that helps :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Canada

Happy New Year - First AUG of the year - great success

Hi Everyone, Hope everyone had a great holiday season and is ready for an exciting 2019.  We had our first AUG last night featuring Tempo Timesheets.  A great presentation and lots of int...

17 views 0 1
View post

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