• @[email protected]
    link
    fedilink
    English
    13
    edit-2
    11 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
      711 months ago

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

      • @[email protected]
        link
        fedilink
        English
        311 months ago

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

      • @[email protected]
        link
        fedilink
        211 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

    • @[email protected]
      link
      fedilink
      511 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.