1. Learn
  2. /
  3. Courses
  4. /
  5. Advanced Git

Connected

Exercise

Bisect Initialization

A bug has been reported in the ETL pipeline in our flight data pipeline project. The latest version doesn't work, but you know it was working 10 commits ago. Start the git bisection process to begin finding the commit that introduced the bug.

Instructions 1/4

undefined XP
  • 1

    Write the command to view the last 5 commits on main branch.
    Assume you are on the main branch.

  • 2

    Write the command to start the git bisect process.

  • 3

    Mark the current commit at HEAD as bad using git bisect.

  • 4

    The last known good commit was 13 commits ago. The hash of this commit is 75e3424. Mark the 75e3424 commit as a good commit using git bisect.