From 3f0581686f8e5a75bc532a271265cce866d6e604 Mon Sep 17 00:00:00 2001 From: Kartios Date: Mon, 24 Aug 2026 21:55:50 -0700 Subject: [PATCH] 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. --- .gitignore | 1 + node_modules | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 120000 node_modules diff --git a/.gitignore b/.gitignore index f8cb41b..8d2b695 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +node_modules node_modules/ dist/ *.local diff --git a/node_modules b/node_modules deleted file mode 120000 index ebcf79b..0000000 --- a/node_modules +++ /dev/null @@ -1 +0,0 @@ -/home/kartios/repos/gitea/tera/node_modules \ No newline at end of file