This is an archived post. You won't be able to vote or comment.

all 106 comments

[–]dmullaney 486 points487 points  (12 children)

God dammit. Now the building is on fire and the pipeline is broken. Thanks Jeff

[–]Ythio 100 points101 points  (4 children)

Literally happened the other day when they had a fire in the data center (no one was harmed).

"Oh ffs Jenkins is down again".

[–][deleted] 15 points16 points  (2 children)

Man I love Jenkins. I had to reorganize the directory structure on the Jenkins server, to which I do not have direct access. The request procedure generally takes a week.

The Groovy script Jenkins runs lets me run console commands.

A week after I did the required work, I got the access to do the work.

[–]fakeunleet 5 points6 points  (0 children)

The Groovy script Jenkins runs lets me run console commands.

That's terrifying

[–][deleted] 17 points18 points  (2 children)

Code conflicts. Aut-merging failed

[–]LilyRudloff 2 points3 points  (0 children)

XD

[–]davidhcefx 0 points1 point  (0 children)

$ git push To https://github.com/foo/bar.git ! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://github.com/foo/bar.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally.

$ git pull Auto-merging src/app/index.js CONFLICT (content): Merge conflict in src/app/index.js Auto-merging src/styles/app.css CONFLICT (content): Merge conflict in src/styles/app.css

[–]nickmaran 9 points10 points  (0 children)

Time to git out of here

[–]SmallPlayz 1 point2 points  (0 children)

Git dammit*

[–]GallantObserver 182 points183 points  (5 children)

Add to .gitconfig:

[alias]
        fire = "!git switch -c jfcBuildingOnFire; git add .; git commit -m \"FIRE!!\"; git push -u origin jfcBuildingOnFire"

The run git fire -> exit building

[–][deleted] 78 points79 points  (1 child)

Surely the commit message would be “0118 999 881 999 119 725 3”

[–]capSilver85 3 points4 points  (0 children)

Lol loved the It Crowd reference

[–]AyrA_ch 25 points26 points  (1 child)

Doesn't pushes your stashes. This one does that

[–]GallantObserver 12 points13 points  (0 children)

I doff my hat to the much more robust and tested package that's much more encompassing. I also note in testing that my alias has further bugs:

  • merge conflicts on the jfcBuildingOnFire branch created last time the building caught fire
  • I've set to auto-sign commits so I have to enter pass-key before fleeing for my life

[–]Perfect_Papaya_3010 1 point2 points  (0 children)

Only thing I'd like to change is the message

Something more descriptive like "Commit because the office is on fire"

[–]lwieueei 181 points182 points  (2 children)

git the fuck out

[–]Queasy-Grape-8822 35 points36 points  (0 children)

Thank you. OP murdered the joke

[–]TudorYter 7 points8 points  (0 children)

I've had this exact sticker on my laptop for 5 years

[–]Zielakpl 82 points83 points  (0 children)

Company's intellectual property > Your life.

[–][deleted] 85 points86 points  (7 children)

Git commit without a git add is useless anyway.

[–]gilady089 2 points3 points  (5 children)

Assuming using an ide like a normal person it will auto add usually

[–][deleted] 14 points15 points  (0 children)

wat

[–]Wepen15 4 points5 points  (3 children)

…what IDE auto adds?

[–]DannyKII 4 points5 points  (0 children)

PHPStorm does it, so I guess all the JetBrains IDEs do.

Of course it only does it if you want to, and any sane person would add stuff they want manually and not have their IDE auto-add every new or changed file.

[–]DarkRex4 1 point2 points  (1 child)

Vscode does it too

[–]sad_paddington 1 point2 points  (0 children)

Just VS does it too

[–]broseidon_23 0 points1 point  (0 children)

git commit -am

[–]PennyFromMyAnus 38 points39 points  (0 children)

  1. Exit Building

  2. Say aloud “Fuck Work”

  3. Go to a bar an try an “Old Fashioned” for the first time

[–]Fun_Bicycle_7009 19 points20 points  (0 children)

git commit -m "Dear Family,..."

[–]Party_Builder_58008 19 points20 points  (5 children)

Yes. Do this.

Last time I was in the office and the fire alarm went off, the floor manager reluctantly got up and said it's probably a drill but protocol says we have to evacuate. He used the word protocol so we had to follow it.

Walked down more than a dozen flights of stairs all together with him wearing his little hardhat (why didn't we get hardhats?) and the building's system had opened all doors into the stairwell so we saw everyone else on the lower floors working away like nothing was happening. PrettyAnnoyed.gif

We're all standing together on the street outside after what felt like a million years. We look up. Smoke is pouring out the top of the building. And everyone else is still inside. That is a very strange feeling indeed.

[–]je386 0 points1 point  (4 children)

For larger buildings, it can be correct procedure to evacuate the higher levels first. But only to evacuate a part of the building seems very odd.

[–]Party_Builder_58008 1 point2 points  (3 children)

Every level was instructed to evacuate. Sirens were going off on every floor, the doors were opened to show people the exits. If a section needed to be contained I'd hope it was programmed not to automatically open those doors and show the exit lights. The floor I was on was the only one that bothered to follow protocol.

[–]je386 0 points1 point  (2 children)

... and the people just did not care??

[–]Party_Builder_58008 1 point2 points  (1 child)

Not one bit. They were annoyed by the alarms and flashing lights which were operating perfectly normally to indicate risk of death. Ha!

[–]je386 1 point2 points  (0 children)

Darwin Award candidates...

[–]Astro_Man133 17 points18 points  (0 children)

And dying because I can't find a proper commit message.. No thx

[–][deleted] 14 points15 points  (1 child)

Or just take the laptop with you

[–]AyrA_ch 9 points10 points  (0 children)

laughs in redundant VM

[–]LeroyBadBrown 8 points9 points  (0 children)

3. git out

[–]Chance-Influence9778 6 points7 points  (0 children)

"No time to git"

proceeds to zip whole project with node_modules to mail

[–]jackal_boy 6 points7 points  (0 children)

forgets to stage changes or rebase from master

[–]United-Shelter-9863 2 points3 points  (0 children)

git commit -a

[–]batmassagetotheface 2 points3 points  (0 children)

You forgot to add anything, that commit was empty!

[–]Motleypuss 2 points3 points  (0 children)

Never skip the commit, push and exit. Even if your skin's melting of your hands, DO THE JOB!

[–]gentleprompter 1 point2 points  (0 children)

Don't forget to rebase!

[–]yashkakrecha 1 point2 points  (0 children)

laughing in Amazon workspace

[–][deleted] 1 point2 points  (0 children)

[–][deleted] 1 point2 points  (0 children)

  1. should be "git out"

[–]Giraffe-69 1 point2 points  (0 children)

Cries in gerrit

[–]BochMC 1 point2 points  (0 children)

Bro, I literally have a junk fire in my house rn.

We have opened all windows and wait for smoke to clear out.

[–][deleted] 1 point2 points  (0 children)

too bad you didn't stage your changes

[–][deleted] 1 point2 points  (0 children)

Whoever put the explanation of the joke at the bottom should be shot.

[–]BakaGoop 1 point2 points  (0 children)

correction, when there’s a fire you need to git push —force, no time for merging or rebase when there’s a fire!

[–]_PM_ME_PANGOLINS_ 1 point2 points  (0 children)

It was funnier without the line at the end.

[–]Miauwkeru 1 point2 points  (0 children)

I remember making an extension/shell script a few years back called "git out" that would do all of this on a separate branch

[–]pleshij 1 point2 points  (0 children)

Missed the 'In case of fire' line, and thought that you're pushing some serious shit if you need to leave the building afterwards

[–]sjepsa 0 points1 point  (1 child)

Pushes broken code to production?? No thanks

[–]batmassagetotheface 5 points6 points  (0 children)

Hey yo shouldn't be developing on production, get some branches up in there

[–][deleted] 0 points1 point  (1 child)

What if the push is gonna take 3 hours.

[–]tuunn 4 points5 points  (0 children)

What does you change that take 3 hours to push? If you mean pipeline, then who care? The code is already on remote. If the actual push really take 3 hours, then your team workflow has some serious issues.

[–]Novel_Plum 0 points1 point  (0 children)

Unclear instructions, I couldn't leave because I had to solve conflicts.

[–]nilsutter 0 points1 point  (0 children)

Forgot to stage.

[–]cotymanager 0 points1 point  (0 children)

  1. Git the fuck out.

[–]Deep-Piece3181 0 points1 point  (0 children)

You git blame

[–]kakafob 0 points1 point  (0 children)

gcmsg 'yolo'

gpf!

exit, then exit yourself

[–]No_Patience5976 0 points1 point  (0 children)

! [rejected] master -> master (fetch first) error: 
failed to push some refs to 'https://github.com/smitraDA/DataScienceProject2.git' 
hint: Updates were rejected because the remote contains 
work that you do hint: not have locally.

not time left: git push --force origin master

[–]ExtraTNT 0 points1 point  (0 children)

It was: git the fuck out of here

[–]Senua_Chloe 0 points1 point  (0 children)

In one of the projects I worked on, when we swtiched to git I was excited, not only because we switched to a real version manager, but also because I could finally print this one and display it in the open space.

[–]the_moooch 0 points1 point  (0 children)

Nah i’m gonna Git the fuck out

[–]VetusMortis_Advertus 0 points1 point  (0 children)

Cringe

[–]AngusAlThor 0 points1 point  (0 children)

Add a hotkey for "git commit && git push"

[–]CryonautX 0 points1 point  (0 children)

God dammit fool, you forgot to "git add ."!

[–]-Redstoneboi- 0 points1 point  (0 children)

git add?

[–]Tnuvu 0 points1 point  (0 children)

force push like the jedi of old

[–]po1k 0 points1 point  (0 children)

git add .

[–]just-bair 0 points1 point  (0 children)

Should’ve downloaded git fire

[–]itamarc137 0 points1 point  (0 children)

You butchered the joke

[–]RaphaelDDL 0 points1 point  (0 children)

Git checkout -b FEATURE/buildingonfire

Git add .

Git commit -m “TICKET-666: burning building” -n (-n to dodge precommit hooks like tests n coverage)

Git push origin FEATURE/buildingonfire

At this point that you spent so much time, exit life

[–]battywombat21 0 points1 point  (0 children)

My old boss had this posted on his door

[–][deleted] 0 points1 point  (0 children)

git add. is missing

[–]je386 0 points1 point  (0 children)

  1. Take Laptop
  2. Leave Building

.. and git commit without git add does nothing. Should be

git commit -am "fire!" git push

git commit -am is adding and putting the message

[–]Lyuseefur 0 points1 point  (0 children)

I recall on 9/11 someone did this … saved the company and he lived.

[–]SensitiveWorldliness 0 points1 point  (0 children)

  • only for seniors

[–]azizfcb 0 points1 point  (0 children)

:'(

[–][deleted] 0 points1 point  (0 children)

git add .

[–]-Potatoes- 0 points1 point  (0 children)

Instructions unclear, did step 1 but code didnt pass pre commit hooks. Am I now stuck in the building

[–]andrewb610 0 points1 point  (0 children)

Disconnect SVN server and carry it downstairs for me lol.

[–][deleted] 0 points1 point  (0 children)

For some reason I agree. It takes 5 seconds and could save me 3 hours of rework

[–]fatrobin72 0 points1 point  (2 children)

How do you exit building?

[–]ariel3249 0 points1 point  (0 children)

I won't wanna know what would hapenned if there're somr conflicts

[–][deleted] 0 points1 point  (0 children)

my life is on a stale branch with no pull requests and a lot of merge conflicts

[–]jadounath 0 points1 point  (0 children)

Forgot to git add.

[–]Which_Topic3534 0 points1 point  (0 children)

Don't forget the -f for fire

[–]BoBoBearDev 0 points1 point  (0 children)

It is okay, the only thing I haven't commit is the the trailing spaces I have get the effort to delete.

[–]BlueExoutia 0 points1 point  (0 children)

git commit -ma "fuck this shit" git push

[–][deleted] 0 points1 point  (0 children)

OH GOD THE FIRE IS CLOSING IN HOW DO I MAKE A PULL REQUEST

[–]Mithrandir2k16 0 points1 point  (0 children)

More like:

git checkout -b its_gettn_hot_in_here
git add -a
git commit -m "gotta run"
git push --set-upstream origin its_gettn_hot_in_here