how to reset a file with git code example
Example 1: git reset one file
git checkout HEAD -- my-file.txt
Example 2: reset certain file git
git checkout c5f567 -- file1/to/restore file2/to/restore
git checkout HEAD -- my-file.txt
git checkout c5f567 -- file1/to/restore file2/to/restore