git vyřadit místní změny
# Discarding local changes (permanently) to a file:
git checkout -- <file>
# Discard all local changes to all files permanently:
git reset --hard
undo unstaged změny git
git checkout -- .
git zahodit změny
git checkout .
git zrušit všechny změny
git reset --hard
jak odstranit změny souborů v git
git clean -df
git checkout -- .