There should a database configuration file that is NOT versionned in source control for security reasons. Instead there should be a sample config provided with standard defaults that each developer can modify locally. Then the developer can then copy the file locally which is to be ignored by git.
The db.env.sample is a BASH script provided as an example.
Modify the script as needed to suit the needs (e.g. .ini file, python, etc.). If the file is modified, the .gitignore file may need to be modified as well.
There should a database configuration file that is NOT versionned in source control for security reasons. Instead there should be a sample config provided with standard defaults that each developer can modify locally. Then the developer can then copy the file locally which is to be ignored by git.
The db.env.sample is a BASH script provided as an example.
Modify the script as needed to suit the needs (e.g. .ini file, python, etc.). If the file is modified, the
.gitignorefile may need to be modified as well.