git remove ignored files from repo code example Example: git remove file from gitignore git rm --cached