Command

Path-specific git reset

Update the selected index entries from REV, leaving HEAD and working files unchanged.

Formal Syntax & Structure

git syntaxgit
git reset REV -- PATH
Git Reference