git-reset-file (1) Linux Manual Page
git-reset-file – Reset one file
Synopsis
git-reset-file [<filename>] commit-hashDescription
Reset one file to HEAD or certain commit-hashOptions
<filename>The name of the file to reset.
<commit-hash>
(Optional) Hash of commit to reset the file to. Defaults to HEAD.
Examples
Reset one file to HEAD$ git reset-file .htaccess
or reset one file to certain commit
$ git reset-file .htaccess dc82b19
