reverse git add --all code example Example: how to undo git add --all git reset # Will unstage all the files you've added after your last commit