These tips and techniques by James Turnbull will help you to avoid potential source control pitfalls and make your development workflow bit smoother.
Tip # 6: I am bisect and so can you
git bisect
is one of the most powerful, seemingly magical, code-based debugging tools available to you. It can be used when you discover a bug you can’t trace to a specific piece of code. Agit bisect
runs a binary search between two commits: a good commit where the bug wasn’t present and a bad commit where the bug appears.
$ git bisect start
$ git bisect bad # Current version is bad
$ git bisect good v2.6.13-rc2 # v2.6.13-rc2 is known to be good
Thank you!
I appreciate your response on my blog.
It may take a while for your comment to display because I moderate comments to filter out spam and other forms of abuse. Thanks for understanding!