Cher
Cher

Reputation: 2937

How to correctly use "Diff with previous version"?

I use TortoiseGit and at work TortoiseSVN.

Most of the time, when I modify a file, and select the option "Diff with previous version" it doesn't compare to latest file.

If I'm correct I though it would compare my copy with latest commit, but it doesn't seem to do so.

Is there a special way to use it?

Upvotes: 0

Views: 733

Answers (1)

MrTux
MrTux

Reputation: 34003

"Diff with previous version" compares the current state of the file to the previous committed state (i.e., HEAD~1). To see the changes to the latest commit just use "Diff".

Upvotes: 1

Related Questions