Search code examples
pythondjangogitgithubpycharm

How do you create a gitignore file in pycharm? (windows)


What i could find relating to git settings on pycharm


Solution

  • First install the ignore plugin:

    PyCharm ignore plugin

    Then right-click the project root directory: New > .ignore File > .gitignore

    create a .gitignore file in PyCharm

    If you want to simply create a .gitignore file in PyCharm, go to the PyCharm terminal and type: echo "" > .gitignore. Then open the .gitignore file, delete the double quotes, and update however you'd like.