Undo `git add` before committing

Undo `git add` before committing

1. To remove a file

git reset <file>

2. to remove all the files

git reset