Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 147 Bytes

File metadata and controls

7 lines (5 loc) · 147 Bytes

Hard Reset Single File

If you want to hard reset a single file in a Git repository use:

git checkout HEAD -- path/to/the/file.txt