how to add already committed file to giignore code example Example: git ignore after commit git rm --cached /\*.exe