I'm trying to remove a previously tracked directory from git, which works, but it's being added back with each subsequent git add .
, git add -A
, etc. Here's what I've done:
Add to .gitignore in root of project:
node_modules
Run the following:
git rm -r --cached node_modules
git
…
Top comments (0)