Getting ready

We'll use the same repository as seen in the last example, but from a clean state:

$ git clone https://github.com/PacktPublishing/Git-Version-Control-Cookbook-Second-Edition_tips_and_tricks.git
$ cd Git-Version-Control-Cookbook-Second-Edition_tips_and_tricks
$ git checkout bug_hunting

The bug_hunting branch contains 23 commits, since it branched off from the master branch. We know that the tip of the bug_hunting branch contains the bug and that it was introduced in a commit, since it branched off from master. The bug was introduced in the following commit:

commit 83c22a39955ec10ac1a2a5e7e69fe7ca354129af
Author: HAL 9000 <John.Doe@example.com>
Date:   Tue May 13 09:53:45 2014 +0200
    
Bugs...

The bug is clearly visible in the ...

Get Git Version Control Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.