CmdID / Commands
Revert a file to HEAD or a commit. tldr-pages
On several platforms
Opens CmdID with your command. It is read in your browser and sent nowhere.
Revert a file to HEAD or a commit. Part of git-extras.
Reset a file to HEAD
git reset-file path/to/file
Reset a file to a specific commit
git reset-file path/to/file commit_hash