(use "git checkout -- <file>..." to discard changes in working directory) code example
Example: git reset change in one file
# undo local changes to specific file
git checkout -- file
# undo local changes to specific file
git checkout -- file