
Sometimes in the life of a project you might change the line endings from CRLF to LF, or you may change the indentation of a section. Read the section called “External Program Settings” to find out about configuring other diff tools.

If you have configured a third party diff tool, you can use Shift when selecting the Diff command to use the alternate tool resp. The built-in tools supplied with TortoiseGit do not support viewing differences between directory hierarchies.

You can also select two branches and compare those using the context menu as described in the section called “Browse All Refs”. There you can click on one branch and select Compare to working tree to see all changes between that branch and your current state of the working tree. An easier way is to open the reference browser (cf. If you want to see the changes of different branches (maybe the current one to another branch or two branches) you can use the log dialog and select the two revisions as described above for "Difference between two previous revisions". Then from the explorer context menu select TortoiseGit → Diff. If you want to see the differences between two different files, you can do that directly in explorer by selecting both files (using the usual Ctrl-modifier). From the Revision Log dialog select the revision of interest, then select Show Differences as Unified-Diff from the context menu. It is harder to read than a visual file compare, but will show all the changes together. This shows only the differences with a few lines of context.
SCITE ZOOMED IN PATCH
If you want to see the changes made to all files in a particular revision in one view, you can use Unified-Diff output (GNU patch format). Read more in the section called “Comparing Version”. Then the Compare Revisions dialog appears, showing a list of changed files (maybe with a folder filter pre-applied). Then select Compare revisions from the context menu (cf. If you want to see the difference between two revisions which are already committed, use the Log dialog and select the two revisions you want to compare (using the usual Ctrl-modifier). Difference between two previous revisions It will not show changes newer than your working tree. This shows you the last change made to that file to bring it to the state you now see in your working tree. This will perform a diff between the revision before the last-commit-date (as recorded in your working tree) and the working BASE.

Then select TortoiseGit → Diff with previous version. If you want to see the difference between the last committed revision and your working tree, assuming that the working tree hasn't been modified, just right click on the file. If you want to see the difference between a particular revision and your working tree, use the Log dialog, select the revision of interest, then select Compare with working tree from the context menu (cf. If you want to see what (uncommitted) changes you have made in your working tree, just use the explorer context menu and select TortoiseGit → Diff.
