1. 18
    Practical Git: Diagnose which commit broke something with git bisect
    2m 49s

Practical Git: Diagnose which commit broke something with git bisect

Trevor Miller
InstructorTrevor Miller

Share this video with your friends

Send Tweet

Sometimes you find a bug in your project that has been around for a while without being noticed; it can be hard to track down where that bug was introduced and why just by searching through logs and diffs. Git has a slick tool called git bisect that can be used to find out which commit introduced problem in our code - it creates a binary search where the programmer can mark each search commit as good or bad; by the end of the bisect, Git shows you exactly which commit introduced the issue. In this lesson, we walk through an example of using git bisect from start to finish.

Eisson Alipio
Eisson Alipio
~ 3 years ago

very useful :)

JooYoung Lee
JooYoung Lee
~ a year ago

Best thing I've found. Thanks a lot :D