1
0

fix: stop tracking a node_modules symlink that .gitignore could not see

`node_modules/` in gitignore matches a directory. A worktree's
`node_modules -> /home/kartios/repos/gitea/tera/node_modules` is a
file, so e5b9339 committed it. Fast-forwarding master onto that
commit replaced the real install with a self-symlink (Too many
levels of symbolic links) and npm ci had to rebuild it.

Ignore the name, not only the directory, and drop the blob.
This commit is contained in:
2026-08-24 21:55:50 -07:00
parent bb7b68dfca
commit 3f0581686f
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -1,3 +1,4 @@
node_modules
node_modules/ node_modules/
dist/ dist/
*.local *.local
-1
View File
@@ -1 +0,0 @@
/home/kartios/repos/gitea/tera/node_modules