node_modules not being ignored git code example
Example 1: ignore node modules
//create a .gitignore file and add the following in it
# dependencies
node_modules
Example 2: node_modules not being ignored git
git rm -r --cached node_modules
git commit -m "removing node_modules"