git bisect

使用二分查找定位引入错误的提交。 Git 会自动在提交历史中来回跳转,逐步缩小问题提交的范围。 更多信息:https://git-scm.com/docs/git-bisect.

git bisect start {{问题提交}} {{正常提交}}

git bisect {{good|bad}}

git bisect reset

git bisect skip

git bisect log