U
U
username_already_exists2021-01-26 22:30:40
git
username_already_exists, 2021-01-26 22:30:40

How to make automatic creation of .gitignore when cloning\initializing a project?

PyCharm automatically creates a .gitignore file.
I would like to supplement it, how can I change / add what I need so that the next time I clone, the changes are saved?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bannikov, 2021-01-26
@vabka

open .gitignore if it already exists.
If not, you create.
Then you add there everything that needs to be ignored in accordance with the format
. There is also a plugin that allows you to check off everything that needs to be ignored.
When cloning, you usually do not need to change the gitignor, since the owner of the repository should have configured it properly.

M
Mikhail Vasilyev, 2021-01-31
@vasilyevmn

You can solve this with a plugin:
https://plugins.jetbrains.com/plugin/7495--ignore

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question