title: How do I ignore PyCharm configuration files in a git repository?
body: <p>I don't want to commit my PyCharm config files (e.g. .idea/codeStyleSettings.xml) to my git repository, so I added the following to my .gitignore file:</p>
  
  <pre><code>.idea/
  mydjangosite/.idea/
  </code></pre>
  
  <p>However, every time I try to make a commit within PyCharm (command k), it still wants to commit these files. How do I get PyCharm to recognize my .gitignore file and not commit these files?</p>