title: How to "unversion" a file in either svn and/or git
body: <p>It happens to me all the time. I accidentally version a file, I do not want to be versioned (i.e. developer/machine specific config-files).</p>
  
  <p>If I commit this file, I will mess up the paths on all the other developer machines - they will be unhappy.</p>
  
  <p>If I do delete the file from versioning, it will be deleted from the other developers machines - they will be unhappy.</p>
  
  <p>If I choose to never commit the file, I always have a "dirty" checkout - I am unhappy.</p>
  
  <p>Is a clean way to "unversion" a file from revision-control, that will result in no-one being unhappy?</p>
  
  <p>edit: trying to clarify a bit: I have already commited the file to the repository and I want to only remove it from versioning - I specifically do not want it to be physically deleted from everyone doing a checkout. I initially wanted it to be ignored.</p>
  
  <p>Answer: If I could accept a second answer, it would be <a href="https://stackoverflow.com/questions/27695/how-to-unversion-a-file-in-either-svn-andor-git#27727">this</a>. It answers my question with respect to git - the accepted answer is about svn.</p>