git-reset-file
Reset a single file to a specific revision
TLDR
Reset file to HEAD
$ git reset-file [file]
Reset file to specific commit$ git reset-file [commit] [file]
SYNOPSIS
git reset-file [commit] file
DESCRIPTION
git reset-file resets a single file to its state at a specific commit. Part of git-extras, it provides a convenient shortcut for resetting individual files without affecting the rest of the working tree.
SEE ALSO
git-reset(1), git-checkout(1), git-extras(1)
