- Change any files and save in a git project. (Do not close the file from an editor)
- Select the git project.
- Git > Reset to Commit
- Select any commit in the list.
- Select hard in the 'Options'
- Click 'Apply'.
--> The file in an editor is not reset automatically.
When I close the file from an editor and reopen it, the content of the file is changed.