git remove everything from status code example Example: git deleted file error $ git reset --hard HEAD~1