A common scenario when I develop is that the codebase will have several config files which require machine specific settings. These files will be checked into Git and other
One possibility is to have the actual files in your .gitignore, but check in default configurations with a different extension. A typical example for a Rails app would be the config/database.yml file. We would check in config/database.yml.sample, and each developer creates their own config/database.yml which is already .gitignored.