title: Prevent updating specific local files in git
body: <p>My current project has a property file which includes some configurations of the project.</p>
  
  <p>For a example </p>
  
  <pre><code>server.jboss.home.dir=/home/user1/apps/apache-tomcat-7.0.54
  </code></pre>
  
  <p>We need to edit these configuration in locally to run the program. </p>
  
  <p>But the problem is when someone makes a commit he will commit his local changes in property file also including other changes. So when we need to pull changes we have to stash our local property file changes and change them after pull.</p>
  
  <p>Is there a way in <strong>git pull</strong> (or any command ) for prevent updating specific local files ?</p>