commands.sh

jj bisect

all

Find a bad revision by bisection.

More info →

Options (1)

-r, --rangeboolean

Find the first bad revision in a range by running a test command

Example: jj bisect run {{[-r|--range]}} {{good_revision}}..{{bad_revision}} {{command}}

Examples (4)

Find the first bad revision in a range by running a test command

jj bisect run [-r|--range] good_revision..bad_revision command

Find the first bad revision using a shell command

jj bisect run [-r|--range] good_revision..bad_revision -- bash -c "command"

Find the first good revision instead of the first bad one

jj bisect run [-r|--range] good_revision..bad_revision --find-good command

Find the first revision where a file was added

jj bisect run [-r|--range] good_revision..bad_revision --find-good -- test -f path/to/file
made by @shridhargupta | data from tldr-pages