how to remove all changes from git code example Example: git delete changes git clean -df git checkout -- .