Skip to content

Instantly share code, notes, and snippets.

View djibba22's full-sized avatar
🏠
Working from home

John W Dinsmore djibba22

🏠
Working from home
View GitHub Profile
@nuggetnchill
nuggetnchill / forget_gitignore.md
Last active March 8, 2024 15:36
Removing node_modules when you forget to add .gitignore file

How to remove node_modules

  1. Create a .gitignore file in the git repo if it doesn't have one

touch .gitignore

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

/node_modules