Debug Bad Commit with Binary Search

Let’s say you just pushed out a release of your code to a production environment, you’re getting bug reports about something that wasn’t happening in your development environment, and you can’t imagine why the code is doing that. You go back to your code, and it turns out you can reproduce the issue, but you can’t figure out what is going wrong. The git bisect tool helps to identify the commit that introduced a bug....

July 18, 2018 · 2 min · Rezha Julio