121
submitted 1 month 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 1 month ago
IN CASE OF FIRE

1. git commit
2. git push
3. exit building
[-] 18107@aussie.zone 30 points 1 month ago* (last edited 1 month 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)."

[-] 69420@lemmy.world 6 points 1 month ago

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

[-] RichieRich@lemmy.world 6 points 1 month ago

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

[-] 69420@lemmy.world 5 points 1 month ago

Lol, standards ๐Ÿ™„

[-] LovableSidekick@lemmy.world 4 points 1 month 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.

[-] billwashere@lemmy.world 6 points 1 month ago

I have this printed on a sign at work.

[-] LovableSidekick@lemmy.world 3 points 1 month ago

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

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

Programmer Humor

37567 readers
979 users here now

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

Rules:

founded 6 years ago
MODERATORS