How to use custom terms for bisect?

git bisect start --term-old old_term --term-new new_term

To set custom terms for bisect instead of good/bad or new/old use git bisect start --term-old old_term --term-new new_term.

After this, you can start bisecting, marking your commits with git bisect new_term and git bisect old_term.

In case you need to check out the currently used bisect terms, run git bisect terms.

Layer 1
Terminal Example
git bisect start --term-old fast --term-new slow

git bisect slow

git bisect fast 37ac958
Bisecting: 0 revisions left to test after this (roughly 1 step)
[2527a949170367e5869fcc63bdab35827a0fc336] Fix operation name issue

git bisect terms
Your current terms are fast for the old state
and slow for the new state.

See git bisect to learn more about it.

Last modified on December 08, 2021.

You might also like