cross-posted from: https://lemmy.sdf.org/post/1352760

Was digging through a project at work today where some guy in 2014 made 100+ commits in a single day and the only one that had a comment said “upgrading to v4.0”.

  • @sucks_syntax
    link
    English
    31 year ago

    We have a monorepo with multiple websites and applications, we also use azure DevOps. Our commit messages are formatted like this: {website/application} - {feature} - {brief description} - {#work item} so e.g. “Auth - MFA - auto focus login field #162589”

    The most beneficial part is the work item number, being able to link the code changes directly to the business logic is huge.

    Also beneficial for bug fixes, push the commit with the bug id and the code changes are linked on the ticket automatically.

    • Tuna Casserole
      link
      English
      11 year ago

      Oh I like the work item number idea. We’ve been putting in a line to explain why the change is being made. Being able to link directly to a card or something is noice.