git rm --cached config/local.json echo 'config/local.json' >> .gitignore git commit -m 'stop tracking local config'