How to use gitignore in pycharm?

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

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

+5
source share
2 answers

Plugins for managing this are available in the JetBrains repository; one of them that I use . ignore , which allows you to better understand which files you are actually ignoring in the IDE.

+3
source

Try:

  • Go to Settings
  • Go to plugins
  • Search: .ignore
  • Install
  • Restart PyCharm

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

+1
source

Source: https://habr.com/ru/post/1245869/


All Articles