# to ignore all files with changes detected git rm -r --cached . git add . git commit -am "Remove ignored files"