I\'m new to version control, so I apologize if there is a well-known solution to this. For this problem in particular, I\'m using git, but I\'m curious about how to deal wit
I like the way Ruby on Rails deals with this sort of issue - environment-specific configuration files. Rails supports development, test, and production database connections - controlled by configuration in the database.yml file. Here is a blog post about creating other environment-specific configuration options, it is for Rails but might give you some ideas about how to do something similar for your environment. http://usablewebapps.com/2008/09/yaml-and-custom-config-for-rails-projects/