Search code examples
windowsgitatlassian-sourcetreebeyondcompare

Git compare in sourcetree - associating commits to tabs in beyond compare?


Using Sourcetree, I see two commits.

I select them both :

enter image description here

Now I click on the External Diff button :

enter image description here

The External tool is Beyond Compare :

enter image description here

But when BeyondCompare is opened, I don't see any info which can indicate which side belongs to which commit : ( I only see some random characters)

enter image description here

Question:

How can I know which tab indicates which commit?


Solution

  • First, check the filename: it could be prefixed with LOCAL. or REMOTE., as I show here.

    The order, for Beyond Compare, should always be LOCAL-REMOTE (for a diff), with in your case:

    • LOCAL: the oldest commit you have selected
    • REMOTE: the most recent commit you have selected.

    (as noted by the OP Royi Namir in the comments)