From 19aace12ff0e7835543f7706c15c66fdf610810c Mon Sep 17 00:00:00 2001 From: Anas Rashid Date: Fri, 9 Oct 2026 19:29:27 +0200 Subject: [PATCH 1/2] Stop tracking api/node_modules and web/node_modules: links to a local folder were committed by mistake in #78; .gitignore now ignores node_modules whether a folder or a link Co-Authored-By: Claude Opus 5.5 --- .gitignore | 2 +- api/node_modules | 1 - web/node_modules | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) delete mode 120000 api/node_modules delete mode 120000 web/node_modules diff --git a/.gitignore b/.gitignore index fce1a429..3ad83ffe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -node_modules/ +node_modules # folders or links (a link was once committed by mistake) dist/ .astro/ .env diff --git a/api/node_modules b/api/node_modules deleted file mode 120000 index 1ee83cb3..00000000 --- a/api/node_modules +++ /dev/null @@ -1 +0,0 @@ -/Users/anasrashid/divan/api/node_modules \ No newline at end of file diff --git a/web/node_modules b/web/node_modules deleted file mode 120000 index 0fd07bfe..00000000 --- a/web/node_modules +++ /dev/null @@ -1 +0,0 @@ -/Users/anasrashid/divan/web/node_modules \ No newline at end of file From c20cbc17bff1920e3fe430738fb88bda006d0da9 Mon Sep 17 00:00:00 2001 From: Anas Rashid Date: Fri, 9 Oct 2026 19:29:40 +0200 Subject: [PATCH 2/2] gitignore: comment on its own line Co-Authored-By: Claude Opus 5.5 --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3ad83ffe..9f1276da 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ -node_modules # folders or links (a link was once committed by mistake) +# node_modules as a folder or a link (links were once committed by mistake) +node_modules dist/ .astro/ .env