我正在做 git bisect,到目前为止我发现了一些好的和坏的提交,我可以通过运行来确认git bisect log
.
但是,如果我为我的分支运行 git loggit log --graph --decorate=full origin/master..mybranch
我可以看到它显示某个提交是 origin/mybranch 和 mybranch,而我当前签出的另一个提交是 (HEAD),但它不显示任何“好”或“坏”的提交。
我的 git 版本是“git 版本 2.40.0.windows.1”。
这是使用公开可用的 git 存储库的复制品。
git clone https://github.com/agrimm/zombie-chaser.git
cd zombie-chaser
git bisect start
git bisect bad d27ec73cf2f1df89cbccd41494f579e066bad6fe
git bisect good 3a99fd1ee5a20aa18e5202e9a8c3ee0ba04a740e
git log --graph --decorate=full master
* commit d27ec73cf2f1df89cbccd41494f579e066bad6fe (refs/remotes/origin/master, refs/remotes/origin/HEAD, refs/heads/master)
| Date: Mon Apr 12 23:24:20 2010 +1000
|
| Fixed typos, updated home page URL.
|
* commit ae1c1d263168cf123578ff5d50f4fc7eb9726a52 (HEAD)
| Date: Sun Apr 11 22:17:39 2010 +1000
|
| Bump up to version 0.1.0.
|
* commit 2a1e2a6c7d2b7036a36c291cc220cbc486815aa8
| Date: Sun Apr 11 19:19:27 2010 +1000
|
| Move library files and ui files into a lib subdirectory, and other changes to file loading.
|
* commit 3a99fd1ee5a20aa18e5202e9a8c3ee0ba04a740e
| Date: Sun Apr 11 12:28:10 2010 +1000
|
| Removed gosu as a dependency, to satisfy jruby.
git bisect log 的运行:
$ git bisect log
git bisect start
# status: waiting for both good and bad commits
# bad: [d27ec73cf2f1df89cbccd41494f579e066bad6fe] Fixed typos, updated home page URL.
git bisect bad d27ec73cf2f1df89cbccd41494f579e066bad6fe
# status: waiting for good commit(s), bad commit known
# good: [3a99fd1ee5a20aa18e5202e9a8c3ee0ba04a740e] Removed gosu as a dependency, to satisfy jruby.
git bisect good 3a99fd1ee5a20aa18e5202e9a8c3ee0ba04a740e
我所期望的是:在某些提交之后一些“好”或“坏”的文本,我实际得到的是:什么也没有。