Git default files (ignoring after first pull) <p>How would you go about setting up this scenario in git:</p> <p>My source has a settings file with configuration settings such as db connection credentials, etc... (this is a Drupal source and I'm referring to settings.php)</p> <p>When developers clone the source, they'll need to go in and change settings specific to their environment. These changes of course should not be pushed back to origin. And at the same time I want them to be able to work with this default template (since most of it will not be changed).</p> <p>So .gitignore doesn't work here because I want it in their first clone. Do I need to teach every new developer about <code>git update-index --assume-unchanged</code>?</p> <p>Isn't there a slicker way to do this?</p>