Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 324 Bytes

untrack_node_modules.md

File metadata and controls

9 lines (7 loc) · 324 Bytes

How to untrack node_modules folder when already commited to Github

If you realise you've commited your node_modules folder to Github before adding them to your .gitignore file, you can untrack them by running the following commands:

git rm -r --cached node_modules
git commit -m "removing node_modules"
git push