• @ExLisper@linux.community
    link
    fedilink
    English
    14
    edit-2
    10 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.

    • Rolivers
      link
      fedilink
      English
      910 months ago

      What’s wrong with that? I’d put a rickroll in there without regrets.

      • @DudeDudenson
        link
        210 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
      610 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.