Skip to content

Instantly share code, notes, and snippets.

@cassidoo
Created July 16, 2015 14:58
Show Gist options
  • Save cassidoo/780583e5afee7191c065 to your computer and use it in GitHub Desktop.
Save cassidoo/780583e5afee7191c065 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
@indrapermana
Copy link

Thanks for the snippet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment