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.
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.
What’s wrong with that? I’d put a rickroll in there without regrets.
Depends on the company I guess. But yeah, people would probably just laugh at me for being careless.
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
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.
Emacs!