Using different environments with version control


Is there a resource or best practice for working with multiple environments and version control? For example, I want to use the 'development' environment locally, and the 'production' environment on my live server. Given that this value is set in index.php, should that file not be checked into version control, but rather manually added and configured on the live server?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.