Add .gitignore files to Python projects in PyCharm

Article directory
1. Install the .ignore plugin
2. Add the'.ignore' file to the project
1. Install the .ignore plugin
In the pycharm compiler, click File->Setting in turn

In the page that jumps out of Setting, perform the following operations:

Click Plugins on the left,
enter .ignore in the search box,
click install on the right, and
click OK below

2. Add the'.ignore' file to the
project. Right-click the project and click New->.ignore file->.gitignore file (Git)

Open .gitignore and find that some content has been automatically added. At this time, the system has ignored some files for you by default. Of course, you can also manually add or delete files to be ignored

————————————————
Copyright Statement: This article is the original article of the CSDN blogger "energy_100%", in accordance with the CC 4.0 BY-SA copyright agreement, please attach the original source for reprinting Links and this statement.
Original link: https://blog.csdn.net/lch551218/article/details/103982966

Guess you like

Origin blog.csdn.net/zengmingen/article/details/106630693