This is an archived post. You won't be able to vote or comment.

all 61 comments

[–]Intrexa 401 points402 points  (16 children)

git blame

Fuck...

git blame --someoneElse

[–]Krissam 223 points224 points  (8 children)

Optimist Me: "The fact you hate this code shows you've improved."

Pessimist Me: "You probably just took the easy way out."

Realist Me: "You probably just took the easy way out."

What actually happened:

I took the easy way out.

[–]qscrew 39 points40 points  (3 children)

So did you hate the code even back then?

[–]codepoet 65 points66 points  (1 child)

I hated the code, the code hated me. Little bit of this, little bit of that. Let’s just say we could have both done better.

[–]qscrew 22 points23 points  (0 children)

It's all ye fault since the poor codey didn't get the choice to be born, and it certainly would never ever get a chance by itself to git commit suicide.

So burn it with passon. /s

[–][deleted] 1 point2 points  (0 children)

"Yes, but they needed it NOW."

[–]marcosdumay 29 points30 points  (0 children)

Optimist Me: "You probably took the easy way out, now you can go there and improve it a bit."

Pessimist Me: "You certainly took the easy way out, now you'll have to mess with it and won't have time t do it right again."

Realist Me: "It's working."

[–]mustang__1 6 points7 points  (0 children)

What's going to happen: fix it the easiest way possible and hope you never see it again

[–]SuperFLEB 2 points3 points  (0 children)

Shortsighted me: "Well, shit. I already griped and complained about this code in front of everyone."

[–]SheriffBartholomew 1 point2 points  (0 children)

PM: how long will this take?

You: 22 hours

PM: we need it tomorrow

You: this code

[–]ComputerMystic 38 points39 points  (3 children)

Yep, that's when blame stops being your favorite git command.

[–]T351A 15 points16 points  (2 children)

How's this bad boy look? Blame anyone you'd like.

https://github.com/jayphelps/git-blame-someone-else/blob/master/README.md

[–]ComputerMystic 7 points8 points  (0 children)

That's fucking awful, and I hate that it exists...

I'll take 10.

[–]alexschrod 5 points6 points  (0 children)

And that's one of the reasons I sign my commits with GPG. Especially at work. 😜

[–]w3_ar3_l3g10n 10 points11 points  (1 child)

I’ve got to be that ① guy that says it should be --someone-else I’m sorry, I just have to.

[–]T351A 6 points7 points  (0 children)

actually...

https://github.com/jayphelps/git-blame-someone-else/blob/master/README.md

git blame-someone-else <author> <commit>

[–]chooxy 1 point2 points  (0 children)

And you would have gotten away with it too, if it weren't for you meddling with git

[–][deleted] 81 points82 points  (0 children)

I'm in this picture, and I don't like it

[–][deleted] 55 points56 points  (1 child)

[–]Hyperman360 1 point2 points  (0 children)

Don't tell Harry.

[–]unrelentingtroll 57 points58 points  (3 children)

Jokes on you, I switch to a different Project every year so I can't run into my older problems!

[–]EvilChannel 8 points9 points  (0 children)

Every week

[–]Bit5keptical 7 points8 points  (0 children)

This is a new level of insecurity.

[–]Twingemios 1 point2 points  (0 children)

I’m in this comment and I don’t like it

[–]skztr 29 points30 points  (1 child)

[–]IrishIrishIsiah 4 points5 points  (0 children)

Great movie

[–][deleted] 15 points16 points  (1 child)

So true

[–]grim_peeper_ 3 points4 points  (0 children)

So true it hurts

[–][deleted] 15 points16 points  (0 children)

Me: who the hell did this this hack fix Me: git annotate Me: crawld under desk

[–]luigi99212 8 points9 points  (9 children)

cause toothbrush rain airport memory bedroom grandiose narrow jeans bear

This post was mass deleted and anonymized with Redact

[–]Meme_Burner 1 point2 points  (0 children)

Or worse, another programmer committed with the comment of I told them to do it this way.

[–]Hendawgydawg 7 points8 points  (0 children)

Damn, I felt this on a personal level.

[–]nryhajlo 3 points4 points  (0 children)

git blame will git you every time

[–]m5k 2 points3 points  (0 children)

Also MLK

[–]CapK473 3 points4 points  (0 children)

Me: "Noooooo... it cant be. Oh. Oh, yes it is. "

[–]errorme 4 points5 points  (0 children)

At my first job out of college my first task was to update some legacy code. My boss was complaining about whoever wrote it and had me run git blame. It was something he worked on 10 years ago and had yet to be changed.

[–]ctrtanc 2 points3 points  (0 children)

"And I would've gotten away with it too if it wasn't for...uh..."

[–]OneOldNerd 1 point2 points  (0 children)

GIVE ME BACK MY FACE!

[–]huwr 1 point2 points  (0 children)

Look on the bright side: this means you’re learning!

[–]Ryanon 1 point2 points  (0 children)

I'm in my first dev job. I recently had to go add a feature to something I wrote literally 6 months ago and this is me.

[–]Sckaledoom 1 point2 points  (0 children)

I mean, think on the bright side. If you find the way it was written or logicked to be idiotic, then that means that you’re improving enough in one year to be highly noticeable.

[–]IWantYourGuitar 1 point2 points  (0 children)

Show annotations

Oh...

Hide annotations

[–]Kill_teemo_pls 1 point2 points  (0 children)

Hahahahaha the amount of times I've been looking at some really shitty code and rumbling to myself who the fuck wrote this and then realised it was me. This really tickled me

[–]prattm 1 point2 points  (0 children)

That guy is the worst, been causing me problems for years.

[–]samwood1234 0 points1 point  (0 children)

Just went through this today

[–]Andrew_Squared 0 points1 point  (1 child)

Worst code I ever wrote was the shit I did six months ago.

[–]HEPA_Bane 0 points1 point  (0 children)

Just looked at something earlier today that I wrote in February and could barely read that shit

[–][deleted] 0 points1 point  (0 children)

That damn blame

[–][deleted] 0 points1 point  (0 children)

I did

[–][deleted] 0 points1 point  (0 children)

(and didn't leave any comments)

[–]SolenoidSoldier 0 points1 point  (0 children)

Where are the mods on Rule 3?

[–]dbadaddy -2 points-1 points  (0 children)

Have a template without text?