Skip to content
DevMeme
4322 of 7590
VersionControl Post #4724 · source on Telegram

Emergency Git Evacuation Procedure

Description

A photo shows a paper sign taped to a wall, styled like a fire-safety instruction placard. The red header says "In case of fire," and a handwritten bubble underneath adds "GIT ADD *" above the steps "1. git commit," "2. git push," and "3. Leave building." Small emergency-style icons appear beside the numbered steps. The developer joke is that source control hygiene becomes more urgent than personal safety, because unpushed work is treated like a disaster-recovery failure.

Comments

12
Anonymous ★ Top Pick The RTO for leaving the building is apparently gated on upstream accepting your commit.
  1. Anonymous ★ Top Pick

    The RTO for leaving the building is apparently gated on upstream accepting your commit.

  2. @FallenChromium 4y

    Always add changes to the stage early on, otherwise you can catch another kind of fire (called reset HEAD) and your changes will be lost forever 🥲

  3. @JoseAngelSanchez 4y

    better: git add -A

  4. @azizhakberdiev 4y

    After one more fire: git push -f

  5. @daemon4647 4y

    git commit -a

  6. @lord_asmo 4y

    leave building -f

  7. @viktorrozenko 4y

    https://github.com/sharpvik/sema With this tool you can just sema -ap

  8. @Assarbad 4y

    Oops, the pre-receive hook barfed at you ... better don't leave just yet. Make sure to reference ticket/sign commit/correctly format commit message/...

    1. @viktorrozenko 4y

      --no-verify

  9. @Assarbad 4y

    Doubt that this allows to dodge certain checks for all implementations; I shall definitely give this a try tomorrow for our host. Thanks for the reminder. 👍

  10. @verozub 4y

    Placed it at my desk

  11. @glatavento 4y

    i prefer this

Use J and K for navigation