Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 egit git eclipse 插件中,我知道我可以通过右键单击单个文件并选择 Replace With > HEAD Revision 来“重置”单个文件。用 HEAD 版本替换与 git index 中的文件有什么区别?
HEAD是已经提交的文件的版本。
HEAD
索引是已暂存(添加)以准备提交但尚未提交的文件版本。