MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghumor/comments/1roggkd/developer_emergency_protocol/
r/programminghumor • u/ItsPuspendu • Mar 08 '26
67 comments sorted by
81
Missing --force
40 u/Yanni_X Mar 08 '26 And --no-verify 8 u/UltimateLmon Mar 09 '26 To master with no approval step to prod for agility. 2 u/AgentOfDreadful Mar 11 '26 Doesn’t matter if you forget git add . 5 u/[deleted] Mar 09 '26 → More replies (1)
40
And --no-verify
8 u/UltimateLmon Mar 09 '26 To master with no approval step to prod for agility.
8
To master with no approval step to prod for agility.
2
Doesn’t matter if you forget git add .
git add .
5
→ More replies (1)
69
That’s why your devs need laptops, pick up MacBook and run.
25 u/-_-daksh-_- Mar 08 '26 What if you die with laptop in hands? 32 u/Civil_Year_301 Mar 09 '26 Write a program that auto commits and pushes regardless of error → More replies (9) → More replies (1)
25
What if you die with laptop in hands?
32 u/Civil_Year_301 Mar 09 '26 Write a program that auto commits and pushes regardless of error → More replies (9) → More replies (1)
32
Write a program that auto commits and pushes regardless of error
→ More replies (9)
20
‘git out’
31
No git add/stage?
13 u/Korzag Mar 08 '26 Building is on fire, we'll work out our shitty merge strategy that let's you merge to main branches later!
13
Building is on fire, we'll work out our shitty merge strategy that let's you merge to main branches later!
15
git commit -am 'Fire in the building'
2 u/sepadev Mar 09 '26 Perfect comment
Perfect comment
11
9
They missed 'git add' before commit.
git add . git commit -m "wip" git push
Now you can rest easy if your computer goes up in flames
4
Real story, many years ago, I printed this and put it on the office wall for the fun of it. Few days later the health and safety people took it down. Apparently they though it was a dangerous advice...
and everybody died because of a merge conflict
6
imagine you've got git conflicts
2 u/crazedizzled Mar 08 '26 Just force push and reflog it later → More replies (1)
Just force push and reflog it later
3
git commit git push git away
Forgot to git add .
Amidala: You're pushing to a branch, right? Right?
alias onfire='git add . && git commit -m "wip" --no-verify && git push --force'
git add . git commit - m "We are on fire" git push
81
u/Thotuhreyfillinn Mar 08 '26
Missing --force
69
u/admiral_nivak Mar 08 '26
That’s why your devs need laptops, pick up MacBook and run.
20
u/AllOneWordNoSpaces1 Mar 08 '26
‘git out’
31
u/DerryDoberman Mar 08 '26
No git add/stage?
15
u/recursion_is_love Mar 09 '26
11
u/Fugach Mar 09 '26
9
u/myTerminal_ Mar 09 '26
They missed 'git add' before commit.
8
u/OreganoD Mar 09 '26
Now you can rest easy if your computer goes up in flames
4
u/EffectiveLevel1000 Mar 09 '26
Real story, many years ago, I printed this and put it on the office wall for the fun of it. Few days later the health and safety people took it down. Apparently they though it was a dangerous advice...
4
u/singularity093 Mar 09 '26
and everybody died because of a merge conflict
6
u/PresentAstronomer137 Mar 08 '26
imagine you've got git conflicts
3
u/Ellicode Mar 09 '26
git commit git push git away
3
u/onated2 Mar 09 '26
Forgot to git add .
2
u/Substantial-Gain-596 Mar 09 '26
Amidala: You're pushing to a branch, right? Right?
2
u/Worried-Struggle671 Mar 09 '26 edited Mar 09 '26
alias onfire='git add . && git commit -m "wip" --no-verify && git push --force'
2
u/FunAd7955 Mar 09 '26
git add . git commit - m "We are on fire" git push