Merge pull request #897 from ozymandiashh/chore/gitignore-node-modules-symlink

chore(gitignore): ignore node_modules symlinks, not only directories
This commit is contained in:
Resham Joshi 2026-08-04 02:56:20 -07:00 committed by GitHub
commit a704f952c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

5
.gitignore vendored
View file

@ -1,4 +1,7 @@
node_modules/
# No trailing slash: the slash form only ignores directories, so a
# node_modules SYMLINK (common in linked worktrees) slips into git add -A.
# One did exactly that in db018f7 and had to be removed again in c642787.
node_modules
dist/
*.tgz