• ExLisper@linux.community
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    edit-2
    8 months ago

    I once pushed a git commit with youtube link as the commit message. Nothing terrible, some completely random video. Still, it looked really weird in the commit history. Turns out you can edit this if you have access to the server and I did have access to the server.

    One time in the same company I found a random youtube link in the middle of a java class. Yes, it was still compiling. No I didn’t commit it.

      • ExLisper@linux.community
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        8 months ago

        Depends on the company I guess. But yeah, people would probably just laugh at me for being careless.

      • DudeDudenson@lemmings.world
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        I put a “These are not the droids you’re looking for” meme as the architecture documentation for one of our apps on GitHub. My boss approved the PR

    • tetris11@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      8 months ago

      Urgh. I sadly do this all the time

      Interactive rebase, amend the commit message for your commit, continue the rebase, and force push.

      Thank heavens for Magit which simplifies this process.