unstage file from git code example
Example 1: git unstage file\
# unstage file before commit
git rm --cached <file_name>
Example 2: git unstage
rit reset config.json
# unstage file before commit
git rm --cached <file_name>
rit reset config.json