Skip to content

Instantly share code, notes, and snippets.

View StanislavSukhanov's full-sized avatar

Stanislav Sukhanov StanislavSukhanov

View GitHub Profile
@StanislavSukhanov
StanislavSukhanov / remove-node-modules.md
Created November 4, 2019 09:11 — 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 2. Open up the .gitignore and add the following line to the file

node_modules 3. Remove the node_modules folder from the git repository

@StanislavSukhanov
StanislavSukhanov / remove-node-modules.md
Created November 4, 2019 09:11 — 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 2. Open up the .gitignore and add the following line to the file

node_modules 3. Remove the node_modules folder from the git repository