serhii.net

In the middle of the desert you can say anything you want

24 May 2022

git bisect

TIL about git bisect.

git help bisect for help.

TL;DR: uses binary search to find a commit that introduced a change. You run it, it gives you a commit, you tell it if it’s good or bad, and it keeps narrowing down the options.

git bisect start -> git bisect good -> git bisect bad -> git bisect reset

Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus