Untrack crates/hevcenc/target (36 MB of build output) and ignore nested target/
Commit c9d5e733 (M13.4, hevcenc deblocking) committed 207 files under
crates/hevcenc/target/agent-codec-hevc/: an agent's CARGO_TARGET_DIR with
rlibs, rmetas, build-script outputs and .rustc_info.json (~36 MB). They
were tracked because .gitignore only ignored the root `/target`.
- git rm --cached the directory; nothing references it.
- .gitignore: `/target` -> `target/`, so a per-crate or per-agent target
dir is ignored anywhere in the tree. No tracked file lives under a
directory named `target`, so nothing else becomes ignored.
The blobs stay in history; this keeps them out of every new checkout and
stops the next agent run from committing more.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0fac647928
commit
0f583853ad
+1
-1
@@ -1,6 +1,6 @@
|
||||
*~
|
||||
plan/
|
||||
/target
|
||||
target/
|
||||
/dist
|
||||
/log
|
||||
.DS_Store
|
||||
|
||||
Reference in New Issue
Block a user