Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter and Git, how to manage config files.
#1

[eluser]Bramme[/eluser]
I'm using Git for the first time to manage my app development. I have my origin repository on a remote server, but I develop locally. Everytime I push to the origin repository, I also do a checkout so I can test the project online.

This means my config.php is different between the online version and the local version. I'm completely new to Git though, and don't really know what's the best approach to handle this.

I found this page: https://gist.github.com/1423106 and like the idea of providing a config.sample.php file, but was wondering if other people had more elegant solutions.



Messages In This Thread
CodeIgniter and Git, how to manage config files. - by El Forum - 02-21-2012, 04:05 AM
CodeIgniter and Git, how to manage config files. - by El Forum - 02-21-2012, 05:15 AM
CodeIgniter and Git, how to manage config files. - by El Forum - 02-21-2012, 05:59 AM
CodeIgniter and Git, how to manage config files. - by El Forum - 02-21-2012, 06:49 AM
CodeIgniter and Git, how to manage config files. - by El Forum - 02-21-2012, 10:33 AM
CodeIgniter and Git, how to manage config files. - by El Forum - 02-21-2012, 11:55 AM
CodeIgniter and Git, how to manage config files. - by El Forum - 02-21-2012, 12:01 PM
CodeIgniter and Git, how to manage config files. - by El Forum - 02-21-2012, 09:14 PM
CodeIgniter and Git, how to manage config files. - by El Forum - 02-28-2012, 02:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB