Re:Git tips to stop you getting fired
by mostlystatic on Monday April 08, 2013 @05:51PM
(#5514880)
Cool, thanks for the explanation. I usually have the development config in the repo and the deployment script overwrites it on the server.
[ Parent
| on HN ]
Re:Git tips to stop you getting fired
by prodigal_erik on Monday April 08, 2013 @06:08PM
(#5514985)
That's better than the converse (default is prod, yikes!) but there's a risk of a prod server using the dev config, which might appear to work unless your dev environment is firewalled off. I prefer having an invalid or unusable config checked in, so the system doesn't even come up until I deploy the config I intend to use over it.