Remove node module from git

sudesh goyat
Sep 25, 2021

create .gitignore file in your project and add “node_modules/”

run the following command

git rm -r --cached node_modules

git commit -am "node_modules be gone!"

git push origin master

--

--