• ranzispa@mander.xyz
    link
    fedilink
    arrow-up
    14
    ·
    10 days ago

    Sometimes you really don’t want to look over the commit history of your colleagues. As long as it’s a small feature, a single commit is a pretty good option.

    Rather than:

    • implemented X
    • forgot this
    • oh, this was not needed
    • now tests actually pass
    • oops
    • fixed this
    • should be ready
    • expr@piefed.social
      link
      fedilink
      English
      arrow-up
      5
      ·
      10 days ago

      It’s fine if the changes belong in a single commit. Otherwise, an interactive rebase to craft a clean, quality history before merging is much, much better.