I want clean history, but that really means (a) clean and (b) history.

People can (and probably should) rebase their private trees (their own work). That’s a cleanup. But never other peoples code. That’s a “destroy history”

So the history part is fairly easy. There’s only one major rule, and one minor clarification:

  • You must never EVER destroy other peoples history. You must not rebase commits other people did.

[…]

If you are working with git together with other people, it’s worth a read.

  • Flipper@feddit.org
    link
    fedilink
    arrow-up
    6
    ·
    26 days ago

    In a project I’m in there are 20 commits just labeled .. The only reason I haven’t slapped them silly is they left before I started.

    • Everyday0764@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      22 days ago

      i have a project with 10 prs and 30 commits like that, they where setting up the ci/cd and they got tired of writing meaningful commits