Once you start working with PyCharm you will notice a bunch of .pyc files everywhere. There is also the .idea folder and other items you might not want checked in to your repository.
.gitignore is useful for specifying these files (in Git). To make managing .gitignore foolproof, plugin called .ignore is most useful. It will add some right click options which will enable you to quickly add any file to be ignored by the versioning system. The plugin also suggests other files to ignore (most helpful) that you might have missed. Get it from your PyCharm Plugins UI.
Copy/Paste from the description:
.ignore (.ignore on GitHub) is a plugin for .gitignore (GIT), .hgignore (Mercurial), .npmignore (NPM), .dockerignore (Docker), .chefignore (Chef), .cvsignore (CVS), .bzrignore (Bazaar), .boringignore (Darcs), .mtn-ignore (Monotone), ignore-glob (Fossil), .jshintignore (JSHint), .tfignore (Team Foundation), .p4ignore (Perforce), .flooignore (Floobits), .eslintignore (ESLint), .cfignore (Cloud Foundry), .jpmignore (Jetpack), .stylelintignore (StyleLint) files in your project. Features:
-
Files syntax highlight
Coloring ignored files in the Project View
Gitignore templates filtering and selecting in rules generator by name and content
Show ignored files by specified ignore file (right click on .gitignore file)
Create file in currently selected directory
Generate Gitignore rules basing on GitHub’s templates collection
Add selected file/directory to ignore rules from popup menu
Suggesting .gitignore file creation for new project
Entries inspection (duplicated, covered, unused, relative, incorrect syntax, relative entries) with fix actions
Comments and brackets support
Navigation to entries in Project view
Renaming entries from ignore file
Close opened ignored files action
Custom user templates with import/export features
Create custom templates from existing rules
Favorite templates