Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

fix: drop a symlinked web/node_modules that #802 staged

Bingxi Zhao (Frank)2da883627f47
diff --git a/.gitignore b/.gitignore
index fee2b05fb..177d88ec6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -70,7 +70,12 @@ venv.bak/
# Node.js and Frontend Build
# ============================================
# Node modules
+# Both spellings: the trailing slash matches only a real directory, so a
+# symlinked node_modules (how a git worktree usually borrows the main
+# checkout's install) would otherwise be staged by `git add -A`.
+node_modules
node_modules/
+**/node_modules
**/node_modules/
# Next.js build output
diff --git a/web/node_modules b/web/node_modules
deleted file mode 120000
index 1b1a9aa1b..000000000
--- a/web/node_modules
+++ /dev/null
@@ -1 +0,0 @@
-/Users/frank/HKUDS/DeepTutor/web/node_modules
\ No newline at end of file