The value of a clean git history is often underestimated. I will explain one of the advantages based on the git bisect command.

  • kevincox@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    9 months ago

    bisect stands for “binary search commit”

    Haha, that is a funny misunderstanding. “bisect” stands for bisect. It is a word. It means to cut in half. Because the command cuts the range of suspicious commits into two, then tests which half the problem started in.

    to divide into two usually equal parts

    https://www.merriam-webster.com/dictionary/bisect

    But I guess it can be misread as BInary SEarch CommiT.

    • danrot@kbin.socialOP
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      I swear, I didn’t come up with that myself, I read that somewhere else, but of course I don’t have a source anymore 🙈 Maybe some git developer is a huge fan of wordplays?