CmdID

CmdID / Commands

git-reset-file

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.

Several platforms

from tldr-pages, CC BY 4.0

Revert a file to HEAD or a commit. Part of git-extras.

Reset a file to HEAD

git reset-file path/to/fileIdentify

Reset a file to a specific commit

git reset-file path/to/file commit_hashIdentify