disregard file from staging git code example Example 1: git remove file from staging git rm --cached FILE.NAME Example 2: git remove from staging git reset HEAD <file>