title: How to ignore a file locally?
body: <p>So there is this configuration xml file, that for some unknown reason if I don't add a couple of extra lines of code my project wont work, however it works for everyone else.</p>
  
  <p>The thing is, I can't commit/push this file, but since the file is staged I can't pull or push either...</p>
  
  <p>One solution would be to stash/pop all the time, but it's annoying.</p>
  
  <p>Does anyone know if there is a command or something to somehow tell Git to ignore this file local changes or something like that?.</p>
  
  <p>So when I do a pull that particular file wont be modified, and when I do a push that file will count as up to date, without changes.</p>