Git 二分查找 引入 bug 的 commit

发布时间 2023-07-21 14:05:37作者: consolexinhun
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