Answer the question
In order to leave comments, you need to log in
How to set up .gitignore (add node_modules to .gitignore)?
I downloaded the project from the gitlab repository. I added the node_modules folder to .gitignore , but when I commit I see the following picture:
The task is to remove the node_modules components from version control
Answer the question
In order to leave comments, you need to log in
1. I cut the node_modules folder locally from the project
2. I commit
3. I paste node_modules back
4. I add node_modules to gitignore
5. I commit, and I see that node_modules is no longer included there
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question