Sometimes you find a bug in your project that has been around for a while without being noticed; it can be hard to track down where that bug was introduced and why just by searching through logs and diffs. Git has a slick tool called git bisect that…
转自:https://git-scm.com/docs/git-bisect NAME git-bisect - Use binary search to find the commit that introduced a bug SYNOPSIS git bisect <subcommand> <options> DESCRIPTION The command takes various subcommands, and different options depending o…