Skip to main content

bisect-regression

Find the exact commit that introduced a bug. Use when something worked before and broke, and you don't know which change did it.

Informações da origem

Repositório
Archive228/loopkit
Última atividade na origem
29 de junho de 2026 às 21:52
Idioma detectado do SKILL.md
inglês
Estrelas
757
Forks
124

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
bisect-regression
description
Find the exact commit that introduced a bug. Use when something worked before and broke, and you don't know which change did it.
# Bisect the Regression 1. Find a known-good commit and a known-bad one. Confirm both by actually checking out and testing. 2. `git bisect start; git bisect bad <bad>; git bisect good <good>`. 3. At each step, run the SMALLEST test that distinguishes good from bad. Mark `git bisect good/bad`. 4. When git names the first bad commit, read its diff. The bug is in those lines — don't guess elsewhere. 5. `git bisect reset`. Report: the commit, the line, the one-sentence cause. Automate it: `git bisect run ./repro.sh` if you have a script that exits non-zero on the bug.
Ver no GitHub