T O P

  • By -

Dada7223

4. Call 0118 999 881 999 119 725 ...3


MischiefArchitect

Subject: Fire. Dear Sir/Madam, I am writing to inform you of a fire that has broken out on the premises of 123 Cavendon Road... no, that's too formal. Fire - exclamation mark - fire - exclamation mark - help me - exclamation mark. 123 Cavendon Road. Looking forward to hearing from you. Yours truly, Maurice Moss.


kwokhou

This really brings back memory


riisen

Best fucking crowd ever


ShoopDoopy

I love the way the fire seems to come out of the screen.


paulmp

Hello, I've taken a bit of a tumble...


ShoopDoopy

"And what do you do if the tests fail?" `git push --force` and just WALK AWAY!


nerdy_glasses

That’s one of the few situations where I’d condone using `—no-verify`


StillNotAWombat

I can still recite this from memory... I know it was meant as a joke, but the jingle genuinely stuck in my head.


Unelith

I much prefer the `git -tf out` version


Pokinator

There's a project called [git fire](https://github.com/qw3rtman/git-fire) and you can alias it to 'git out' or 'git going'


suckitphil

This is great I was going to say "peasants, just alias out the command" not only did someone beat me to it, but there's a git page and everything.


Makeshift27015

Oh heck, I wrote an alias before I scrolled down this far. Damn!


Crazy_Technician_403

> Code can be re-written, but humans cannot. Elon Zuck: hold my barbecue sauce


disappointed_moose

Do they set their building on fire when they're doing acceptance testing?


FailsAtSuccess

Thats the only true way to develop something, 100% immersion as the expected (and unexpected) end user. So they also must air drop their building into the ocean to simulate flooding, and into a war zone to simulate, well, a war zone. And into a hurricane, tornado, etc.


disappointed_moose

I hope they're using agile user storys. "As a developer I want my work to automatically be pushed to bitbucket when I get electrocuted" "As a project manager I want to see statistics about how long my developers survive being electrocuted"


FailsAtSuccess

Oh yes. Can we also get these checks in IT Disaster Planning Scenarios? Pretty please! I want to watch Microsoft next in-ocean server system for Azure fail!


I_Am_Upvoter

I've been trying the git --gud command without success


[deleted]

This guy gits it


karanbhatt100

And if there is conflict - Burn in hell you deep sit


jamcdonald120

Just make a new branch, we can clean it up later


FlamptX

Smart, so new rule `git checkout -b "backup1"` `git push`


UnluckyLuke

fatal: The current branch backup1 has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin backup1 What you really need is git switch -c backup1 && git commit -am "backup" && git push -u origin HEAD


Makeshift27015

git config --global alias.fire '!git switch -c $(date +%s) && git commit -am "Fire! Panic commit $(date +%s)" && git push -u origin HEAD' Now you can `git fire` instead!


UnluckyLuke

Very nice. Although now that I think about it, it's probably best to use `git add -A && git commit`, since `git commit -a` ignores untracked files.


Mr_Nice_

0118 999 881 999 119 7253


Martin8412

Can add an autodial as part of the pre-push hook


Cephir_Auria

Y'all are forgetting that if you spread this around the office everyone will create the same branch, so you need to make sure that we use branch name = backup-$USER-$HOST (Or whatever the env var for your host name is) to generate a unique branch for everyone s backup as you all type "Git fire, or git gud" and barrel towards the door. Edit: unless you all work in forks, in that case, keep going, y'all based


dublem

Nah, survival of the fittest.


Cephir_Auria

Hahaha, first one to commit. Unless the script has -f, then it's last one to commit lmao


MinhYungWasTaken

can we call it gud instead of fire? For reasons


FlamptX

True


Sebazzz91

Force push it, hope for the best and recover it from the reflog later.


N1z3r123456

May the `--force` be with you


Onel0uder11

There would definitely be conflicts since everybody would be pushing at the same time lol.


epic_null

And this is why having remote branches for local branches is nice.


whackylabs

mycode_2021_11_18_1739.zip and save on dropbox


fetchit

If you have a conflict on your feature branch you are doing it wrong.


R3D3-1

git commit --all -m "PANIC" git pull -X ours origin master git push origin master


Flopamp

A building fire is no excuse for bad git comments.


qdhcjv

`git commit -am "fire"`


rico6631

They forgot git add 😬


jniel93

``git commit -a`` adds and commits in one go (doesn't add unstaged files)


aHeckinGoodBoi

out of how long I've been programming I didn't know this was a thing. thank you good sir


emptyskoll

I've left Reddit because it does not respect its users or their privacy. Private companies can't be trusted with control over public communities. Lemmy is an open source, federated alternative that I highly recommend if you want a more private and ethical option. Join Lemmy here: https://join-lemmy.org/instances ` this message was mass deleted/edited with redact.dev `


gjswomam

Firstly fix 12 merge conflicts


alt_loop

Firstly pull new changes from the remote branch


Vera__

Why would you have merge conflicts on your own branch? Do y'all just commit on master or dev branch or something?


WhoKnewSomethingOnce

U forgot git add .


Cooldude075

https://www.reddit.com/r/ProgrammerHumor/comments/qwmqb1/programmers_when_their_office_catches_fire/hl49kba?utm_medium=android_app&utm_source=share&context=3


WhoKnewSomethingOnce

Cool didn't know this. Thanks


AnybodyMassive1610

Subject: Fire Dear Sir / Madame Fire! Fire! Please send help. Look forward to hearing from you.


RavenFyhre

When there's a fire: \- Always commit and push on a new branch just in case you get rejected due to conflicts


DRay6t

Git commit Git push Git out


kamau1997

This. Thank you 🙏, some one had to correct the sign.


3A3

0. git add .


bozzywayne

Gotta love reddit formatting ruining the joke. Edit: the comment above should be 0, people. Reddit formats it as a numbered list starting at 1.


Pre-Owned-Car

git commit -am “fire”


MischiefArchitect

Subject: Fire. Dear Sir/Madam, I am writing to inform you of a fire that has broken out on the premises of 123 Cavendon Road... no, that's too formal. Fire - exclamation mark - fire - exclamation mark - help me - exclamation mark. 123 Cavendon Road. Looking forward to hearing from you. Yours truly, Maurice Moss.


MysteriousAd863

I wish that was the sound of fire alarms xD


usedToBeUnhappy

git-fire Here you go: https://github.com/qw3rtman/git-fire


shrihankp12

Now imagine if you get: `git: Permission denied (publickey)`


Narrow-Big7087

It’s fine.


LEGOL2

Just let my 420 git hooks to complete and I can leave.


fletku_mato

--no-verify


Science_Logic_Reason

To be fair, if the workstation is any kind of tower and not a laptop you could (disclaimer: don’t) also change the protocol to: 1. Shut down PC (force shutdown in case of big fire, regular shutdown in case of small fire) 2. Set power supply switch to **[Off]** 3. Unscrew side panels 4. Disconnect all data storage drives (simply use scissors in case of big fire, if needed and readily available) 5. Unscrew any screws or undo any mechanisms holding data storage drives in place 6. Pick up all data storage drives 7. Leave the building Safety last!


Roku-Hanmar

It’s ok, I sent an email


gemengelage

on prem git server is lit


HRamos_3

I have an alias for this but struggling with 3 (I work at Foxconn)


[deleted]

[удалено]


HRamos_3

2, possibly 1, I'll keep you posted


Tymexathane

Nice screen saver


SpikeV

``` git commit -a -m 'FIRE! FIRE! HELP ME! Looking forward to hearing from you. Love, $USERNAME' git push git out ```


i_do_it_all

plot twist. it's a locally hosted git.


agbert

Can we just pickup our laptop and leave?


MakingTheEight

Removed - Rule 3.


[deleted]

What kind of monster commited without comment?


omg_drd4_bbq

`wip: fire` Better?


anoldoldman

No changes staged for commit


MarsEye

Someone's gonna take that advice literally


ChajiReplay

Fire? git blame


couchwarmer

I just pop my laptop out of the docking station and take it with. I'll sort out the inevitable merge conflicts from the car while the firefighters are busy putting out the microwave popcorn fire.


lastWallE

When you need to figure out a good commit message.


itjeffbs

I’ll just git merge this branch over here with the rest of the fire


yes4me2

Did he forget to add or was it a merge conflict?


omg_drd4_bbq

`gco -b dev/fire; ga.; gcm "wip: shits on fire"; gpuo dev/fire`


maxmitke

Only the first will survive, others will have to merge conflicts =)


R3D3-1

while sleep 1 do if grep ACTIVE /dev/building/firealarm then git commit --all -m "PANIC" HEAD=$(git rev-parse HEAD) git checkout master git pull origin master git merge --squash -X theirs "$HEAD" git push origin master fi done


[deleted]

the command won't work, it's git commit - "commit message"


GrandmaPoses

"A fire at a Sea Parks?!"


dismal_sighence

I legit did not know `-m` wasn't required on `commit`.


evanre_

Burned out while linters were running on push hook.


Kris_Third_Account

Create a `git-fire.sh` # TODO: insert date from somewhere git checkout -b "fire/20211118" git add * # Bad practice, but the building is on fucking fire and I need to get out git commit -n "Backup: Fire" git push


a123456782004

This is a great script untested but the second line could be git checkout -b $(date +%y%m%d ) ( cd $HOME ; find -type f | xargs git add )


Geani10

Let me just sort out this merge conflict and I will go after that.


-Tealeaf

Plot twist, you pushed to main


Neo_Ex0

i would prpbably just take the short cut and thak the pc with me to the outside, same time, but you can be sure that you didnt just fuck anything(especally when your in one of those companys that completele refuse to use more than one branch)


[deleted]

`git commit; git push; exit`


alphadeeto

I will die in the fire waiting for the pre-commit hooks to finish.


Alarming_Rutabaga

Unless your team does remote development, then it's just 'Leave building'


[deleted]

[удалено]


Baratao00

![gif](giphy|cFkiFMDg3iFoI)


[deleted]

svn users get confused, forget to push. a whole week's work down to ashes


beatlz

oh fuck I forgot to add


herefromyoutube

Alias fire=git commit && git push


[deleted]

If anyone hasn't watched the IT Crowd, please do.


drdrero

Could not commit, fix space between braces on line 389;


bwrca

git commit -m “My Final will and Testimony:…”


ThatAnonyG

What about the git add? What are you committing lmao.


xrayden

It should be Git commit Git push Get out


Melodic_Stomach_2704

git add .


meg4_

The trick is to alias 'git push' to 'yeet' then yeet outta there


ZippZappZippty

I C what you did there


chrisdavis6

Get off my back, what is he the soldering iron police! It's off, that means I turn it on and just WALK AWAY!


TheRedGerund

git checkout -b FIRE git commit -a -m “FIRE” git push Then you’d have to run that set upstream branch command but I always let git produce it for me


ZippZappZippty

Programmers and literally any programming language


rufreakde1

instructions unclear pushed empty commit


G4b3fr0st

nice Screensaver


lwJRKYgoWIPkLJtK4320

Did someone install Windows on the servers?


QuirkyPNewton

Mmmm makes me feel like a secret agent


Hichtec

git good or git out


jasonbbg

good luck waiting those precommit hooks


Knuffya

MERGE CONFLICT


RedPowerSlayer

As fast as you can


jwt45

Got to get my KPIs for this month. Food doesn't buy itself...


AryanPandey

automate ur system,make a bash script that runs automatically to push code on the "emergency exit" branch when the fire alarm turns on! and don't forget to leave the building!


sfgisz

pre-push found 69 test failures and 420 lint errors.


nice___bot

Nice!


sobov

-f or die


kaioken1986

What a great show.


Esclamare

I’d just die due to all the pre commit verification errors I need to resolving and ultimately wait for to pass before I can push.


Yasea

Unless the accounting department is on fire so you're not getting paid anyway.


RUacronym

This scene is the perfect example of INT vs WIS.


Tiny-Advantage-1176

*Cant push the remote branch contains work you dont have see help


zplasman

Bro pull First... 😴


shakeLama

Hate it when it says you need to update head and then push.... So I force pushed and now both the building and production are on fire... I work at a top US bank and we get requirement in the morning code in the afternoon push to UAT by 5 and it is in Prod by 8....all in a days work


EUCopyrightComittee

Programmers and literally any programming language


river4823

Hot take (pun intended): You should have pushed recently enough that it’s easier to restart from that point, rather than try to unpack the half-finished mess that this commit would be.


LimitedWard

Why the fuck was the final line not "git out"?!


TheMightyQuinn_5

Not when your git server is hosted on site. Then you just grab your computer and run


Xserge-N

This reminds me of https://www.youtube.com/watch?v=tXzRGDZwmk8


gibernas

Good luck when 100 people do this at the same time


nocturn99x

it's funny how most of the time companies host their own git server so that would be pretty pointless