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

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

      • @DudeDudenson
        link
        21 year 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
      61 year 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.