giteclipseegit

How to reset a specified file in Eclipse?


How to reset a specified file in Eclipse like the command

git reset <commitID> <fileName>

do ?


Solution

  • You can either click on the file with the right mouse button in the commit view and select "Replace with HEAD version" or right-click on the file contents and select "Replace with" > "Branch, Tag or Reference" or "Commit...",