29

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?

VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755
user1443721
  • 950
  • 1
  • 13
  • 29

3 Answers3

13

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

Urda
  • 5,436
  • 5
  • 33
  • 47
Filip
  • 2,146
  • 2
  • 20
  • 32
2

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.

Community
  • 1
  • 1
VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755
1

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 Ticked for Source Tree: https://jira.atlassian.com/browse/SRCTREEWIN-1296

enter image description here

WasitShafi
  • 407
  • 1
  • 4
  • 10