Introduction: Git Bisect

Let us go over what you will learn in this chapter.

We'll cover the following

This chapter covers:

  • git bisect
  • The ^ operator
  • The ~ operator
  • The git show command

What is bisecting?

Bisecting is a very powerful tool for finding bugs. You won’t necessarily need it that often. But when you do, it will come in very handy and possibly make you a hero.

However, it’s not magical and understanding what it is will help you understand where it will be useful.

When it is magical, you create a Git bisect “session” and interact with the repository until you get the answer to your problem.