Reputation: 9363
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?
Upvotes: 37
Views: 89007
Reputation: 795
Install the plugin in Pycharam professional
- Go to the right corner and click on the Settings icon
- Now on Plugins
- Now type the name of the plugin you want to install for example "ignore"
Congatulation plugin is installed
Upvotes: 3
Reputation: 149
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.
Upvotes: 14
Reputation: 544
Try:
.gitignore
should now be included in .ignore
along with .hgignore
etc.
Upvotes: 52