简体   繁体   English

WebStorm / PhpStorm + Git集成:“相同”与“最新”存储库版本

[英]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) 我是Git的新手,很抱歉,如果这是一个愚蠢的问题,但在右键单击WebStorm / PhpStorm中的文件时出现的上下文菜单的git子菜单中的以下两个选项之间有什么不同(在Project侧栏中) )

  • Compare with same repository version 相同的存储库版本比较
  • Compare with latest repository version 最新的存储库版本比较

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. 如果自上次更新后文件库中的文件已更改,则与最新的存储库版本相比可能会显示其他更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM