I am aware of using .gitignore file to exclude some files being added, but I have several config.php files in source tree and I need to exclude only one, located in the root while other keep under revision control.
What I should write into .gitignore to make this happen?
From the documentation:
So you should add the following line to your root
.gitignore: