mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-08-04 13:51:50 +00:00
chore(gitignore): ignore node_modules symlinks, not only directories
The node_modules/ pattern (trailing slash) matches directories only. A node_modules SYMLINK, standard in linked worktrees that share one install, is not covered, which is howdb018f7accidentally committed one and every subsequent checkout materialized a self-referencing symlink untilc642787removed it. Dropping the slash covers files, directories and symlinks.
This commit is contained in:
parent
7a8a591c56
commit
b940afd83d
1 changed files with 4 additions and 1 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue