how to remove added file in git before commit 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