diff --git a/.gitignore b/.gitignore index de10d077d2..82431a3290 100644 --- a/.gitignore +++ b/.gitignore @@ -49,6 +49,10 @@ docs/new-features/ # dependencies node_modules/ +# Also ignore a root node_modules SYMLINK (worktree setups symlink it from the main +# checkout). The trailing-slash pattern above only matches a directory, so without this +# a symlink named node_modules could be staged by `git add -A` and committed. +/node_modules *.map .DS_Store diff --git a/node_modules b/node_modules deleted file mode 120000 index d6af08994d..0000000000 --- a/node_modules +++ /dev/null @@ -1 +0,0 @@ -/home/diegosouzapw/dev/proxys/OmniRoute/node_modules \ No newline at end of file