Remove node_modules from git in vscode December 26, 2022 by Tarik make .gitignore file. add node_modules/ line to gitignore file run this command git rm -r --cached . git add . git commit -m "remove gitignore files" git push