this post was submitted on 14 Dec 2023
198 points (98.1% liked)

Asklemmy

43945 readers
651 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 14 points 11 months ago* (last edited 11 months ago) (2 children)

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.

[โ€“] [email protected] 9 points 11 months ago (2 children)

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

[โ€“] [email protected] 4 points 11 months ago

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

[โ€“] [email protected] 2 points 11 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] 6 points 11 months ago (1 children)

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.