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 can configure ignored files.
Under the Version Control node, of the Settings dialog box, click Ignored Files. The Ignored Files dialog box opens.
More easily:
Tip
You can also add files to ignore list on-the-fly. A new file under the Unversioned Files change list, has Ignore command on its context menu.