git bisect - finding bugs


Preferably write an automated test that can verify the feature. Put it in a separate test file in the workspace.


git bisect start

# test fails
git bisect bad

git checkout old-sha
# test passes
git bisect good

# test passes / fails
git bisect good / bad