Fix: stop tracking node_modules links (committed by mistake in #78) #89
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/untrack-node-modules"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What was wrong: my PR #78 committed
api/node_modulesandweb/node_modulesas links pointing at/Users/anasrashid/divan/.... The worktree I made it in had those links, and.gitignore'snode_modules/only matches folders, not links.Effects:
Fix:
.gitignorenow hasnode_moduleswithout the slash, so it matches a folder or a link. Checked: a link atapi/node_modulesnow shows as ignored.After merging: in
~/divan,git statusno longer showsD api/node_modules/D web/node_modules.🤖 Generated with Claude Code