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?

  1. add node_modules to .gitignore file
  2. $ git rm -r --cached node_modules
  3. $ git commit -m 'Remove the now ignored directory node_modules'
  4. $ git push origin master

results matching ""

    No results matching ""