From 1e275b3eeb8a4d5e1d641bf8c4fcf6ab00770d12 Mon Sep 17 00:00:00 2001 From: suryaacharan Date: Tue, 6 Oct 2026 17:55:07 -0700 Subject: [PATCH] chore: ignore symlinks at the generated proto and node_modules paths The patterns ended in '/', which only matches directories. A symlink at amber/src/main/python/proto or node_modules (handy when sharing generated code or dependencies across worktrees) was not ignored, so it could be committed by accident. Drop the trailing slash so files, symlinks and directories at those paths are all ignored. Co-Authored-By: Claude Opus 5.5 --- .gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 6e772fee5ab..adb3ef7844d 100644 --- a/.gitignore +++ b/.gitignore @@ -61,7 +61,7 @@ coverage.xml *.pkl # Regenerated by bin/python-proto-gen.sh. -amber/src/main/python/proto/ +amber/src/main/python/proto # Ingoring user generated resources user-resources/ @@ -129,7 +129,7 @@ metals.sbt values-*.yaml # Any environment-specific value overrides # Ignore nested node modules -**/node_modules/ +**/node_modules **/package-lock.json .env