I need to keep separate configuration.php files locally and on server.
The problem is
I've added the file to .gitignore and removed it from index using git rm --cached configuration.php
but then when I push it server, it deletes configuration.php from server.
I am not sure how -assume-unchanged
works.
What would be the correct solution to this problem?