how to git reset only have log key code example Example: git reset specific file git checkout c5f567 -- file1/to/restore file2/to/restore