git bisect <paths>

Use binary search to find the commit that introduced a bug

Arguments

NameDescription
pathsfilepaths, folders

Subcommands

NameDescription
startReset bisect state and start bisection
badMark commits as bad
newMark commits as new
oldMark commits as old
goodMark commits as good
nextFind next bisection to test and check it out
termsShow the terms used for old and new commits (default: bad, good)
skipMark <rev>... untestable revisions
resetFinish bisection search and go back to commit
visualize, viewSee the currently remaining suspects in gitk
replayReplay bisection log
logShow bisect log
runUse <cmd>... to automatically bisect
help