Answer the question
In order to leave comments, you need to log in
How to ignore a folder in the root of a project in gitignore?
There is a dist folder at the root of the project. There are also other dist folders that are downloaded as part of the bower packages. They are somewhere else in the project.
I write the line in gitignore: dist/
As a result, all dist folders inside the project are ignored in general. And you only need the one that lies next to this gitignore file.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question