how to ignore already pushed files in git code example Example: gitigore rm cache git rm -r --cached .