• brettvitaz@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I don’t follow the 50 character rule, but to answer your first question: imo, no, don’t mention where you fixed the bug. This is a commit message that is explicitly tied to the place where you fixed the bug. You can go into more detail in the PR if you need to.

    • bleistift2@feddit.de
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      “PR” lol. I’m the sole developer.

      Jokes aside. I find it easier to have all the information in a commit message, so I can browse it in the git log without having to find the relevant PR(s) that finally merged it.