Skip to content

Instantly share code, notes, and snippets.

Avatar

Phil Rae iamphilrae

View GitHub Profile
@paulallies
paulallies / gist:0052fab554b14bbfa3ef
Last active Sep 23, 2022
Remove node_modules from git repo
View gist:0052fab554b14bbfa3ef
#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 <branch-name>