how to restore all the files in the staging area git code example Example: how to remove all files from staging area git git rm --cached -r .