123
submitted 3 months ago by mat@jlai.lu to c/programmerhumor@lemmy.ml

As the title says. I put the wrong value inside a clean up code and I wiped everything. I did not push any important work. I just want to cry but at least I can offer it to you.

Do not hesitate to push even if your project is in a broken state.

you are viewing a single comment's thread
view the rest of the comments
[-] LovableSidekick@lemmy.world 37 points 3 months ago
IN CASE OF FIRE

1. git commit
2. git push
3. exit building
[-] 18107@aussie.zone 30 points 3 months ago* (last edited 3 months ago)

git-fire

"git-fire is a Git plugin that helps in the event of an emergency by switching to the repository's root directory, adding all current files, committing, and pushing commits and all stashes to a new branch (to prevent merge conflicts)."

[-] billwashere@lemmy.world 6 points 3 months ago

I have this printed on a sign at work.

[-] LovableSidekick@lemmy.world 3 points 3 months ago

It was on a sign where I once worked, but that was almost 10 years ago.

[-] 69420@lemmy.world 6 points 3 months ago

Except when everyone pushes to main at the same time and now you have conflicts.

[-] RichieRich@lemmy.world 6 points 3 months ago

Who pushes to main? That branch should be protected! Who reviews the merge request?

[-] 69420@lemmy.world 5 points 3 months ago

Lol, standards ๐Ÿ™„

[-] LovableSidekick@lemmy.world 4 points 3 months ago

They wouldn't push to main at the same time tho, they would push to the branches they're working on. Unless their organization is very badly run, and then it's probably already happened before just because it was Tuesday.

[-] bhamlin@lemmy.world 5 points 3 months ago
  1. git commit -m 'asdf'
this post was submitted on 03 Jul 2025
123 points (94.9% liked)

Programmer Humor

38612 readers
59 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS