# you can undo git add before commit with: git reset <file-name> # or this command to unstage all due changes: git reset
git reset file-name