Using a file template is definitely the best solution.
For example, if you have a database.ini
file, commit a database.ini.template
file and ignore database.ini in .hgignore
Using a file template is definitely the best solution.
For example, if you have a database.ini
file, commit a database.ini.template
file and ignore database.ini in .hgignore