unstage a change git code example
Example: how to unstage changes in git
#unstage a single file
git rm --cached <filePath>
#unstage all staged files
git reset
#unstage a single file
git rm --cached <filePath>
#unstage all staged files
git reset