I have version control with Git over the configuration files of a server. A file (namely app.ini from Gogs) requires the database user and password to be stored in cleartext.
Is there any way to transparently commit the file without the password being visible to other users of the Git repository? I could use git add --patch
while staging, but I want it to be transparent so the other users (and I) don't have to pay attention to do it in every commit.