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:
@@ -1,3 +1,4 @@
|
||||
node_modules
|
||||
node_modules/
|
||||
dist/
|
||||
*.local
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
/home/kartios/repos/gitea/tera/node_modules
|
||||
Reference in New Issue
Block a user