Answers for "add node modules to git ignore"

5

git ignore node_modules

If you add the below text into your .gitignore file,
then it will look for the node_modules directory. Then the node_modules
directory will be ignored.



node_modules/
Posted by: Guest on March-08-2021
0

add node modules to git ignore

## New Solution:
## create .gitignore & add node_modules

git rm -r --cached .

git add .

git commit -m"removed all files from gitignore"

git push origin master
Posted by: Guest on March-11-2021

Code answers related to "add node modules to git ignore"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language