25

Similar questions like this one about how to ignore files in a git repo are typically answered by showing which git command to execute on the command line. Even this one, although it is PyCharm specific, does the same.

Is there a way to manage this file through the PyCharm GUI?

Community
  • 1
  • 1
cb4
  • 4,494
  • 4
  • 35
  • 47

4 Answers4

34

Try:

  1. Go to Settings
  2. Go to Plugins
  3. Search for: .ignore
  4. Install
  5. Restart PyCharm

.gitignore should now be included in .ignore along with .hgignore etc.

Brian
  • 6,562
  • 6
  • 41
  • 79
Gavin Munro
  • 356
  • 3
  • 2
9

In PyCharm Pro 2019.3, I was able to do this by - right click folder or file I wanted to add to gitignore. - scroll to and click on Git - scroll to and click on Add to .gitignore If a gitignore file is not already there, PyCharm will create one and add it to the main project folder and add your chosen folder/file to it.

adixxov
  • 99
  • 1
  • 4
5

There are plugins available in the JetBrains repository to manage this; one of them that I make use of is .ignore, which allows you to have more insight into what files you're actually ignoring in the IDE.

Makoto
  • 100,191
  • 27
  • 181
  • 221
  • I have that plug-in installed and it is helpful. Is it possible to manage it via the GUI? – cb4 Apr 02 '16 at 21:19
1

Install the plugin in Pycharam professional

   - Go to the right corner and click on the Settings icon
   - Now on Plugins

enter image description here

 - Now type the name of the plugin you want to install for example "ignore"

enter image description here

Congatulation plugin is installed