how to remove 1 file into git changes code example Example: how to remove file changes in git git clean -df git checkout -- .