gitignore: match the stray "~" TMPDIR dir at any depth, plus /temp/ (#7499)

The `/~/` rule was root-anchored, so it only caught a stray "~" directory
created at the repo root. Tools run from a subdirectory create it there
instead, and studio/frontend/~/ once reached a PR as 708 tracked files (a
Node compile cache plus cwd markers). Unanchor it.

Also ignore /temp/, the repo-root scratch dir
tests/studio/test_chat_preset_builtin_invariants.py writes into. Nothing
under either path has ever been tracked on main.
This commit is contained in:
Daniel Han 2026-07-27 06:04:08 -07:00 committed by GitHub
commit 7081522b45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

3
.gitignore vendored
View file

@ -238,4 +238,5 @@ package-lock.json
!studio/package-lock.json
llama.cpp/
# Stray "~" dir some tools create from a literal ~ TMPDIR; never part of the repo.
/~/
~/
/temp/