Skip to content

Instantly share code, notes, and snippets.

View kathy-tam's full-sized avatar

Kathy Tam kathy-tam

View GitHub Profile
@kathy-tam
kathy-tam / remove-node-modules.md
Created June 28, 2021 14:23 — forked from lmcneel/remove-node-modules.md
How to remove node_modules after they have been added to a repo

How to remove node_modules

  1. Create a .gitignore file in the git repository if it does not contain one

touch .gitignore

  1. Open up the .gitignore and add the following line to the file

**/node_modules