You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.2 KiB
22 lines
1.2 KiB
|
|
|
|
|
|
┏━╸╻╺┳╸ ┏┓ ╻┏━┓┏━╸┏━╸╺┳╸
|
|
┃╺┓┃ ┃ ┣┻┓┃┗━┓┣╸ ┃ ┃
|
|
┗━┛╹ ╹ ┗━┛╹┗━┛┗━╸┗━╸ ╹
|
|
|
|
|
|
|
|
Binary search to find commit that introduced a bug.
|
|
|
|
┌──────────────────────────────────────────┐
|
|
│$ git bisect start │
|
|
│$ git bisect bad <commit-ish> │
|
|
│$ git bisect good <commit-ish> │
|
|
└──────────────────────────────────────────┘
|
|
|
|
┌──────────────────────────────────────────┐
|
|
│$ git bisect start HEAD HEAD~10 -- │
|
|
│$ git bisect run make test │
|
|
│$ git bisect reset │
|
|
└──────────────────────────────────────────┘
|