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:
parent
8b9ee5facb
commit
7081522b45
1 changed files with 2 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue