title: Accidentally committed .idea directory files into git
body: <p>I have accidentally committed the <code>.idea/</code> directory into git. This is causing conflicts everywhere else I need to checkout my repo. I was wondering how do I remove these files from the remote?</p>
  
  <p>I still need these files locally since the Intellij IDE needs them. I just don't want them in the remote. I have added the directory <code>.idea/</code> to my <code>.gitignore</code> and committed and pushed this file into remote. This seems to have no effect during my checkout on my other machine though. I still get the error message:</p>
  
  <pre><code>error: The following untracked working tree files would be overwritten by checkout:
  .idea/.name
  .idea/compiler.xml
  .idea/copyright/profiles_settings.xml
  .idea/encodings.xml
  .idea/misc.xml
  .idea/modules.xml
  .idea/scopes/scope_settings.xml
  .idea/uiDesigner.xml
  .idea/vcs.xml
  .idea/workspace.xml
  </code></pre>