• BougieBirdie@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    10
    ·
    3 months ago

    I’m definitely writing useless git commit messages

    For work, I at least include the Jira ticket id

    For personal stuff, it’s sweeping features stuffed into one commit that barely describes what was changed

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      3 months ago

      What was the git flag to basically rewrite history again?

      I’ve definitely been guilty of this, but if I can redo my changes in narrative form before I push I bet I won’t have to.

    • blaue_Fledermaus@mstdn.io
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      Forcing myself to write in the format of Conventional Commits has helped me a lot to write better commit messages.

      • Funbreaker
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        3 months ago

        Looking at the website, Conventional Commits seems a little verbose for ny tastes but it probably helps actually communicate the changes so everyone is on the same page. Thanks for the tip!

        Edit: Spelling