git remove all files from staged code example Example: remove file from stage git git rm --cached <file>