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