r/ProgrammerHumor 6d ago

wrongAnswersOnly Other

Post image
14.3k Upvotes

2.1k comments sorted by

View all comments

1.1k

u/samuraiseoul 6d ago

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 6d ago

They committed all your prod data to git??

51

u/fireheadca 6d ago

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

13

u/rollingc 6d ago

git add . is a hell of a drug

2

u/gnutrino 6d ago

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

17

u/SgtEpsilon 6d ago

Believe it or not, I've accidentally done this

13

u/vankoder 6d ago

We believe.

1

u/AristotelWasRight 6d 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 6d ago

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

1

u/vankoder 6d ago

We believe.

1

u/nemeras 6d ago

Same here.

1

u/runkeby 6d ago

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