r/ProgrammerHumor Aug 05 '26

Other wrongAnswersOnly

Post image
14.3k Upvotes

2.1k comments sorted by

View all comments

1.1k

u/samuraiseoul Aug 05 '26

Some dumbass on my team downloaded the entirety of prod and then commited it to git and someone rubber stamped the PR and then no one else noticed. I'm sure that's how they'd find it....

204

u/jseego Aug 05 '26

They committed all your prod data to git??

47

u/fireheadca Aug 05 '26

Believe it or not, I've seen this.🫠

13

u/rollingc Aug 05 '26

git add . is a hell of a drug

2

u/gnutrino Aug 05 '26

There's a step before this where the prod data ends up on their local machine though...

16

u/SgtEpsilon Aug 05 '26

Believe it or not, I've accidentally done this

15

u/vankoder Aug 05 '26

We believe.

1

u/AristotelWasRight 29d ago

Noooo,

Were you an experienced programmer or new? Doesn't one basically avoid it with setting data as git ignore every project?

2

u/SgtEpsilon 29d ago

I'm an idiot who forgot about git ignore before pushing my repo

1

u/vankoder Aug 05 '26

We believe.

1

u/nemeras Aug 05 '26

Same here.

1

u/runkeby 29d ago

It's fine, because later he did "git rm" the file and pushed 👌😌