Skip to content

Instantly share code, notes, and snippets.

@Ugarz
Forked from paulallies/gist:0052fab554b14bbfa3ef
Last active November 19, 2018 09:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ugarz/a5dee523d7d30b0c854fc27298e7fa28 to your computer and use it in GitHub Desktop.
Save Ugarz/a5dee523d7d30b0c854fc27298e7fa28 to your computer and use it in GitHub Desktop.
Remove node_modules from git repo

Add 'node_modules' to .gitignore file and remove versionned ones

git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment