There are some local files (that are part of our repository) in a rails app that I would like git to ignore. Basically, I'd like git to ignore all changes I make to anything in the config/environments directory and to the config/application.rb file. I don't want to use .gitignore because I don't want OTHER people working on the code base to have their configurations ignored by git. Basically I'm doing a lot of testing that modifies the config files and sometimes my config changes are checked into a github which at a minimum is embarassing and at worst causes issues with the production environment.
What's the best approach here?