git revert commit single file code example
Example 1: reset certain file git
git checkout c5f567 -- file1/to/restore file2/to/restore
Example 2: git revert commit for single file
git checkout <commit_hash> path/to/file
git checkout c5f567 -- file1/to/restore file2/to/restore
git checkout <commit_hash> path/to/file