user1443721
user1443721

Reputation: 1260

Can SourceTree show diff side-by-side

I started to use SourchTree recently.

The default format of the diff is to use "-" or "+" to show changes.
I like to have 2 files side-by-side and show the change line to line.

However, I cannot find the option to change the format. Can you help?

Upvotes: 39

Views: 17076

Answers (3)

Wasit Shafi
Wasit Shafi

Reputation: 1539

There is a way to view both side-by-side as well as inline both at the same time by using a tool in Source Tree.

  1. Download and install Perforce Merge/Diff tool
  2. Now open your repo in source tree and click on 3 dots within circle icons on the top right corner in UI now and click on External Diff a new window will open which will show all the changes side-by-side as well inline (Worked for me in Mac Book Pro M1)!!

For more info can refer to corresponding Jira ticket for Source Tree: https://jira.atlassian.com/browse/SRCTREEWIN-1296

enter image description here

Upvotes: 2

Filip
Filip

Reputation: 2344

No, I really hope to see that feature in some of the future releases.

Upvotes: 16

VonC
VonC

Reputation: 1323753

If you don't see any "side-by-side diff" button on the diff view, then a good workaround is to setup a difftool in your SourceTree.

See for instance "How to use Meld as a merge tool with SourceTree on Windows?".

Using an external diff tool (supporting natively a side-by-side view) is more reliable than the native tool options here.

Upvotes: 2

Related Questions