Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to remove node_modules from git

# Do the below steps -
# Make .gitignore file.
# Run below commands in your terminal

git rm -r --cached node_modules

git commit -am "node_modules be gone!"

git push origin master
 
PREVIOUS NEXT
Tagged: #remove #git
ADD COMMENT
Topic
Name
6+1 =