how to remove everything from the staging area git code example Example: remove file from stage git git rm --cached <file>