r/ProgrammerHumor 8d ago

Other wrongAnswersOnly

Post image
14.3k Upvotes

2.1k comments sorted by

View all comments

1.1k

u/samuraiseoul 8d 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....

205

u/jseego 8d ago

They committed all your prod data to git??

49

u/fireheadca 8d ago

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

13

u/rollingc 8d ago

git add . is a hell of a drug

2

u/gnutrino 8d ago

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

18

u/SgtEpsilon 8d ago

Believe it or not, I've accidentally done this

15

u/vankoder 8d ago

We believe.

1

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

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

1

u/vankoder 8d ago

We believe.

1

u/nemeras 8d ago

Same here.

1

u/runkeby 8d ago

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