title: keep config file on heroku but remove from public repo on github?
body: <p>I am trying out newrelic on a test app which is deployed to heroku.</p>
  
  <p>I have both remotes origin(the public github repo) and heroku.</p>
  
  <p>After pushing to heroku with the newrelic.yml file included, I would like to be able to push changes back to origin but not include the newrelic.yml file because it contains a license_key.</p>
  
  <p>I tried putting config/newrelic.yml in .gitignore but it still tracks the file and pushes the file to origin. Then I tried deleting the file but can't get a clean "git status".</p>
  
  <p>I tried rm config/newrelic.yml but then even with it in .gitignore the next time I push to heroku it removes the file on heroku causing newrelic monitoring to stop.</p>
  
  <p>I saw other similar issues on SO with answers referring to heroku config vars <a href="https://devcenter.heroku.com/articles/config-vars" rel="noreferrer">https://devcenter.heroku.com/articles/config-vars</a> but don't understand how this relates if it does, to removing the config file for github.</p>
  
  <p>Thanks</p>