Add database.yml to .gitignore
Since this is largely customized per site after install, it should not be tracked in Git after the initial checkout.
fixes #1624 - Moved database.yml to database.yml.example
keeping the database configuration file within the repo is not needed,
therefore, we moved it to an example config file, and added the
database.yml to a to .gitignore
NOTE: this would break you installation, as you would need to:
cp config/database.yml.example config/database.yml
#1 Updated by D. Johnson about 7 years ago
I would rather see a sample file in the git repo that can update along with whatever is needed or becomes default in future versions than to track actual user-config file in git.
Setup is trivial, ex: "cp database.yml.sample database.yml" and edit to fit (which they would have to do regardless).