• Black616Angel@discuss.tchncs.de
    link
    fedilink
    arrow-up
    3
    ·
    3 hours ago

    In the past I had commit messages with change numbers from a system, that was no longer in use.

    So the commit just said “CH-12345“. It is the kind of annoying, where you can’t even really be mad at someone.

    • dohpaz42@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      I put my ticket numbers in my tickets, but i also try to describe the change too (e.g. “Fix bug where xyz happens due to zyx action”). Also, atomic commits: commit only related changes.

      Yes, it takes longer to commit large changes, BUT you can easily merge the commits, and rollback only what needs to be rolled back.