我有一个tests.sh
文件。
该文件仅包含exit 0
或exit 1
。 0
代表前两次提交,1
代表其余(我认为),代表第一对提交为good
,其余为bad
。
我正在运行$ git bisect run ./tests.sh
。但是,这告诉我我需要从git bisect start
开始。
$ git bisect run ./tests.sh
error: You need to start by "git bisect start".
You then need to give me at least one good|old and bad|new revision.
You can use "git bisect good|old" and "git bisect bad|new" for that.
我尝试先运行git bisect start
,然后通过说HEAD
不好但没有成功来启动它。
我在这里做什么错了?