remove file from staging index code example Example: git remove file from staging git rm --cached FILE.NAME