I am going to start a project based on CodeIgniter and plan to use Git as our DVCS. I will work with several other developers, and the central (source) server is private. But I also want to open source and post the code on Github later.
My question is, is there a way to separate the configuration file in Git, so that the personal information in the configuration file is not sent to the remote Github, but is located at the beginning of other peer nodes as well.
Another question: can we use a similar solution for local development and server configuration files for production?
source
share