Remove committed content that's been pushed to GitHub
So, you say you’ve already pushed your ENTIRE node_modules
folder up to GitHub, eh?
- add
node_modules
to.gitignore
file $ git rm -r --cached node_modules
$ git commit -m 'Remove the now ignored directory node_modules'
$ git push origin master