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:
.idea/
m
You should not ignore all of the files under .idea
directory. Some of them are local and tied to your personal preferences and some other are global settings of the PyCharm project that most likely should be stored in git.
Here is the link to an updated .gitignore snippet for PyCharm and other JetBrains IDEs.