mahmood
mahmood

Reputation: 24795

Get diff with GIT on windows

Using the git on windows, I don't see any option to compare two commits? I mean, how can I diff two revisions? enter image description here

Upvotes: 1

Views: 77

Answers (1)

svlasov
svlasov

Reputation: 10455

You can't do it with git gui. Use gitk:

  • start gitk from git gui via menu Repository -> Visualize All Branch History
  • in gitk, click some commit and select Mark this commit from the context menu
  • then select another commit and Diff this -> marked commit.

enter image description here

Upvotes: 2

Related Questions