Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebStorm/PhpStorm + Git integration: "Same" vs "Latest" repository version

I am new to Git, so sorry if this is a stupid question, but what is the different between the following two options in the git submenu of the context menu that comes up on right clicking a file in WebStorm/PhpStorm (in the Project sidebar)

  • Compare with same repository version
  • Compare with latest repository version
like image 460
Himanshu P Avatar asked Oct 05 '22 13:10

Himanshu P


1 Answers

See the Comparing file versions help section.

  • Same version is the version you last synchronized to. Shows current local changes since last update.
  • Comparing to the latest repository version may show additional changes, if the file was changed in the repository since the last update.
like image 53
CrazyCoder Avatar answered Oct 24 '22 05:10

CrazyCoder