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