how to remove files staged for commit in git code example
Example: remove staged files git
git reset HEAD -- path/to/file
#To reset everything
git reset HEAD -- .
git reset HEAD -- path/to/file
#To reset everything
git reset HEAD -- .