← Back to context

Comment by yjftsjthsd-h

2 years ago

I don't know about branches, but if you're just traversing history that's a textbook use for git bisect, right?

Yep. Git bisect automatically does a binary search to find the earliest breaking commit. You can either test each version manually or, if you have a script that will pass or fail, like a unit test, you can tell git and it will do everything automatically. I love it when I get to use git bisect.