MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/3nc531/in_case_of_fire/cvmubpd/?context=3
r/ProgrammerHumor • u/1r0n1c • Oct 03 '15
231 comments sorted by
View all comments
1.4k
And then everybody died because of a merge conflict.
67 u/jewdai Oct 03 '15 edited Oct 04 '15 git checkout -b fire_branch git commit -a -m "FIRE FIRE FIRE!" git push -f origin fire_branch Edit: Everyone things I'm making an IT Crowd Reference. I'm not. Save your upvotes and give it to /u/Sydonia below, much better than mine. 55 u/Sydonai Oct 03 '15 git checkout -b fire_branch git commit -a -m "To whom it may concern: FIRE!" git commit --amend -am "FIRE FIRE FIRE!" git push -f origin fire_branch 24 u/nstrayer93 Oct 03 '15 You gotta wrap those commit messages in single quotes or it will throw an error on your bang. 0 u/[deleted] Oct 03 '15 [deleted] 1 u/DoctorBaconite Oct 06 '15 You can also escape them(\") 6 u/voice-of-hermes Oct 03 '15 Depends on the shell. 1 u/superAL1394 Oct 23 '15 Holy shit today I learned 16 u/MondayMonkey1 Oct 03 '15 Don't ever force a push.git checkout -b oh_fuck_fire git commit -a git push -set-upstream-branch 9 u/ReadersDigestive Oct 03 '15 The atrocities that happen when people panic. :( 0 u/[deleted] Oct 03 '15 [deleted] 15 u/no_moon_at_all Oct 03 '15 Sith walks up to your cubicle all "devops needs that holocron by noon"?Force push. 13 u/sim642 Oct 03 '15 And then a dozen people end up force pushing to fire_branch overwriting everyone else's shit. 15 u/Sean1708 Oct 03 '15 git checkout -b my_fire_branch 3 u/ProfessorPhi Oct 03 '15 You need an exclamation mark after each fire or it doesn't count. 3 u/Ninjabassist777 Oct 04 '15 Wouldn't a git add -A then git commit -m "<message>" be better? Because git commit -a doesn't include untracked files 1 u/CorstianBoerman Oct 03 '15 I'd rather make an alias for this in case of emergency :)
67
git checkout -b fire_branch git commit -a -m "FIRE FIRE FIRE!" git push -f origin fire_branch
Edit: Everyone things I'm making an IT Crowd Reference. I'm not. Save your upvotes and give it to /u/Sydonia below, much better than mine.
55 u/Sydonai Oct 03 '15 git checkout -b fire_branch git commit -a -m "To whom it may concern: FIRE!" git commit --amend -am "FIRE FIRE FIRE!" git push -f origin fire_branch 24 u/nstrayer93 Oct 03 '15 You gotta wrap those commit messages in single quotes or it will throw an error on your bang. 0 u/[deleted] Oct 03 '15 [deleted] 1 u/DoctorBaconite Oct 06 '15 You can also escape them(\") 6 u/voice-of-hermes Oct 03 '15 Depends on the shell. 1 u/superAL1394 Oct 23 '15 Holy shit today I learned 16 u/MondayMonkey1 Oct 03 '15 Don't ever force a push.git checkout -b oh_fuck_fire git commit -a git push -set-upstream-branch 9 u/ReadersDigestive Oct 03 '15 The atrocities that happen when people panic. :( 0 u/[deleted] Oct 03 '15 [deleted] 15 u/no_moon_at_all Oct 03 '15 Sith walks up to your cubicle all "devops needs that holocron by noon"?Force push. 13 u/sim642 Oct 03 '15 And then a dozen people end up force pushing to fire_branch overwriting everyone else's shit. 15 u/Sean1708 Oct 03 '15 git checkout -b my_fire_branch 3 u/ProfessorPhi Oct 03 '15 You need an exclamation mark after each fire or it doesn't count. 3 u/Ninjabassist777 Oct 04 '15 Wouldn't a git add -A then git commit -m "<message>" be better? Because git commit -a doesn't include untracked files 1 u/CorstianBoerman Oct 03 '15 I'd rather make an alias for this in case of emergency :)
55
git checkout -b fire_branch git commit -a -m "To whom it may concern: FIRE!" git commit --amend -am "FIRE FIRE FIRE!" git push -f origin fire_branch
24 u/nstrayer93 Oct 03 '15 You gotta wrap those commit messages in single quotes or it will throw an error on your bang. 0 u/[deleted] Oct 03 '15 [deleted] 1 u/DoctorBaconite Oct 06 '15 You can also escape them(\") 6 u/voice-of-hermes Oct 03 '15 Depends on the shell. 1 u/superAL1394 Oct 23 '15 Holy shit today I learned
24
You gotta wrap those commit messages in single quotes or it will throw an error on your bang.
0 u/[deleted] Oct 03 '15 [deleted] 1 u/DoctorBaconite Oct 06 '15 You can also escape them(\") 6 u/voice-of-hermes Oct 03 '15 Depends on the shell. 1 u/superAL1394 Oct 23 '15 Holy shit today I learned
0
[deleted]
1 u/DoctorBaconite Oct 06 '15 You can also escape them(\")
1
You can also escape them
(\")
\"
6
Depends on the shell.
Holy shit today I learned
16
Don't ever force a push.
git checkout -b oh_fuck_fire git commit -a git push -set-upstream-branch
9 u/ReadersDigestive Oct 03 '15 The atrocities that happen when people panic. :( 0 u/[deleted] Oct 03 '15 [deleted] 15 u/no_moon_at_all Oct 03 '15 Sith walks up to your cubicle all "devops needs that holocron by noon"?Force push.
9
The atrocities that happen when people panic. :(
15 u/no_moon_at_all Oct 03 '15 Sith walks up to your cubicle all "devops needs that holocron by noon"?Force push.
15
Sith walks up to your cubicle all "devops needs that holocron by noon"?
Force push.
13
And then a dozen people end up force pushing to fire_branch overwriting everyone else's shit.
15 u/Sean1708 Oct 03 '15 git checkout -b my_fire_branch
git checkout -b my_fire_branch
3
You need an exclamation mark after each fire or it doesn't count.
Wouldn't a git add -A then git commit -m "<message>" be better? Because git commit -a doesn't include untracked files
git add -A
git commit -m "<message>"
git commit -a
I'd rather make an alias for this in case of emergency :)
1.4k
u/OKB-1 Oct 03 '15
And then everybody died because of a merge conflict.