Skip to content

Instantly share code, notes, and snippets.

@tejasrsuthar
Forked from cassidoo/remove-node_modules
Created April 9, 2018 06:42
Show Gist options
  • Save tejasrsuthar/83e89f87bd207e3369fd8fea1e149852 to your computer and use it in GitHub Desktop.
Save tejasrsuthar/83e89f87bd207e3369fd8fea1e149852 to your computer and use it in GitHub Desktop.
Remove node_modules from git
Add to .gitignore file
node_modules
Then call:
git rm -r --cached node_modules
git commit -m "Remove node_modules now that they're ignored!"
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment