• boo one@lemmy.one
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    One senior guy managed to merge with the commit template, as is, with **Insert brief summary here** and **description goes here**

  • Lunivore@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 year ago

    It was one with a message that someone copied from a commit I had made a full year before. It broke the build right before a release and the commit message bore no relation to the changes, of course.

    Because they had copied my message, it had my initials in. I had visits from irate managers in other buildings who ranted at me for a good 5 minutes without letting me get a word in to tell them that 1) it wasn’t me, and 2) undoing a subversion commit was a one-line command and not a good reason for the stupid amount of drama (there were no database or other irrevocable changes).

    The last manager to speak to me told me it was still my fault as it was a bad message in the first place. The message read “Fixing typo in the audit log”.

  • SuperFola@programming.dev
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 year ago

    “fix ci” “Again” “Maybe?”

    Every time I work on CIs I just lose it after 1 or 2 commits and squash merge later on. Also when integrating projects together (eg I’m working on a language and made a POC for a new parser in a separate project) I’m just like “hajzjgkzlabai yes”

  • vrkr@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    Not message, but repo. Thousands of commits over several years and not a single message. Not even one. Browsing it felt like wandering through liminal space or git’s own version of “Backrooms”.

    spoiler

    Only “commiter” to this repo was a shell script. It periodically dumped entire database schema (many files) and made a commit to this repo. It was so “good” and “clever” it was forgotten to be later rediscovered by some contractor (me) hired to investigate “suspicious drop in database performance”.

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

    Me on feature branches when I have weird CI issues: “floopie 7”. You can guess what the previous ones are. Yes I’m aware of amend but this is easier and I just iron that stuff out when I fixed my problems

  • JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Probably anything saying “Commit” as the main verb (apart from “Initial commit”). “Add some code” is annoying but “Commit some code” is so much worse to me. Yeah, of course, every commit is committing some code lol.

  • blurr11@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    For personal stuff especially when I use git just to sync between laptop and computer most of my commits are the things that don’t work and I use for new stuff ~for changes and X for broken stuff.

    So a commit can be " + new feature ~logging to accommodate new feature X Edge case crashes the new feature."

  • kabat@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    I use a single dot when committing to a feature branch. I will either rebase or merge --squash anyway, so what’s the point really.

    e: in my private projects that is, I use a jira ticket number at work, because I have to.