문제

In the egit git eclipse plugin, I know I can "reset" a single file by right clicking on it and selecting Replace With > HEAD Revision. What is the difference between replacing with HEAD revision vs File in git index?

도움이 되었습니까?

해결책

HEAD is the version of the file that has already been committed.

The index is the version of the file that has been staged (added) in preparation for a commit, but not yet committed.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top