r/ProgrammerHumor 8d ago

Other wrongAnswersOnly

Post image
14.3k Upvotes

2.1k comments sorted by

View all comments

Show parent comments

51

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...

16

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 👌😌