Giter Site home page Giter Site logo

in-case-of-fire's Introduction

In case of fire, git commit, git push and leave the building

In case of fire

This is an SVG version of the "In case of fire" poster that surfaced on Twitter around october 2015.

It includes the original Inkscape svg file, a standard svg, a PDF version and a PNG render.

Pull request for different formats welcome!

Original git push and git commit icon are (c) Github.

(c) 2015 Louis-Michel Couture

in-case-of-fire's People

Contributors

emonigma avatar haydenk avatar louim avatar openningia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

in-case-of-fire's Issues

step 1: `git commit -am fire`

The command git commit is not enough.

  • If there are no staged changes, it fails
  • If there are staged changes, it requires the user to write the commit message. There might not be enough time to do so.

What we need is git commit -am fire. The switch -a adds all changes in tracked files, switch -m fire sets the commit message to "fire", which is of a low quality, but if is justified by the emergency. The un-tracked files are ignored.

P.S: I understand it's a meme, but it might save your work! Besides I think displaying it, points out the importance and benefits of version tracking.

This is obviously wrong!

I don't mind you messing with people's safety, but I do mind you messing with uncommited changes! These "in case of fire" instructions are obviously incorrect and will often result in engineers not being able to push their changes to the remote repo due to possible conflicts! This might cause project delays, missed deadlines and create unnecessary vacancies (some employees will surely die in flames, trying to find the solution on Stack Overflow, which will in turn create unplanned tasks for your HR department, etc. - it's just going to be a mess).

What your "in case of fire" board should say instead is this:

git checkout -b fire_[EMPLOYEE_UID]
git add -A .
git commit -m 'Fire!'
git push --set-upstream origin fire_[EMPLOYEE_UID]

Create a new branch, commit your changes there and push the branch to the remote! Easy, no conflicts, no uncommited changes, just a tiny bit of merging once the smoke clears! Woo-hoo!

PS. Some employees might still die in flames trying to find their ID - nothing can be done about that I'm afraid, so better get your HR department ready, just in case.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.