#unstage a single file git rm --cached <filePath> #unstage all staged files git reset
# you can use . instead of file_path to unstage all staged files. git restore --staged <file_path>
$ git reset -- README
rit reset config.json