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