In the lesson Inspecting history, the following command is shown:
git bisect start
git bisect good f0ea950 # this is a commit that worked
git bisect bad main # last commit is broken
However, the bisect-exercise repository does not have a main branch but master. So the command fails.
Replace:
git bisect bad main # last commit is broken
with
git bisect bad master # last commit is broken
In the lesson Inspecting history, the following command is shown:
However, the bisect-exercise repository does not have a
mainbranch butmaster. So the command fails.Replace:
git bisect bad main # last commit is brokenwith
git bisect bad master # last commit is broken