The bug exists now and did not three months ago. Faster way

Back to list2025-03-08
You

The bug exists now and did not three months ago. Faster way than reading diffs?

ChatGPT

git bisect run with a script that exits non-zero on failure. Twelve builds cover three months of daily commits, and the script means you can walk away while it works.

You

A 400 MB file is in the history. Removing it from HEAD did not shrink the repo.

ChatGPT

It cannot: the object still lives in history. git filter-repo --strip-blobs-bigger-than 10M rewrites it out, after which everyone must reclone. Add the pattern to .gitignore in the same change, otherwise it comes back in a week.