title: Force Git to not commit and/or upload changes to a specific file to master
body: <p>I have a <a href="/questions/tagged/git" class="post-tag" title="show questions tagged 'git'" rel="tag">git</a> project where I have to do some changes to one file to get it working on a specific machine. This file is part of the repository and I don't want the file to be committed and uploaded to master unless i specifically tell it so. I want that or I want a command or option that I have to execute before committing and pushing so that the changes does not get uploaded to master.</p>
  
  <p>Is this possible?</p>