git bisec start
当前 commit 包含 bug
git bisec bad
找到不含 bug 的 commit
git bisec good xxx
会自动回滚到中间的 commit
如果还有 bug
git bisec bad
如果没有 bug
git bisec good
结束查找
git bisec reset
git bisec start
当前 commit 包含 bug
git bisec bad
找到不含 bug 的 commit
git bisec good xxx
会自动回滚到中间的 commit
如果还有 bug
git bisec bad
如果没有 bug
git bisec good
结束查找
git bisec reset