• @caseyweederman
    link
    72 months ago

    I just learned git bisect from https://ohmygit.org/! You run it, then checkout other commits all over the project, and mark them with git bisect good or git bisect bad. Then it paints all commits that led to the good one as good, and all the ones after the bad one as bad, so you just keep narrowing your window by playing checkout Jezzball until there’s only one commit left: the one that introduced the bad state.

      • @caseyweederman
        link
        12 months ago

        Yeah but I didn’t know that term until I looked it up. Also OhMyGit didn’t cover using tests and automating it.

        • @[email protected]
          link
          fedilink
          22 months ago

          Definitely a useful tool and one you should’ve learned in a college algorithms course. Binary search backs a lot of high performance data structures