Git Resetuj zmianę w jednym pliku
# undo local changes to specific file
git checkout -- file
Old-fashioned Ox
# undo local changes to specific file
git checkout -- file
git checkout HEAD -- my-file.txt
git checkout -- .
git reset HEAD
git checkout .