Git réinitialiser le changement dans un fichier
# 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 .