Which of the following command is used to unstage changes? 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