git reset commit delete changes code example Example: git delete changes git clean -df git checkout -- .