Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
CarK :python:
@cark@social.tchncs.de  ·  activity timestamp 2 months ago

Today, we had a fire alarm going off at @tudresden when I was just working on a local git repo.

This reminded me on the popular meme:

In case of fire 🔥

1. git commit
2. git push
3. leave building

I always had some mixed feelings about it. Thus, I wrote down whats wrong with this meme on several levels (technical and social):

https://cknoll.github.io/git-fire-en.html

The essence is to create a #git-alias 'git fire' (consisting of multiple commands) to:

- create a new branch with an unused name,
- add every change to the staging area,
- commit (including message)
- push new branch to remote

Also: helping to mitigate fire damage to humans and infrastructure should be preferred over antisocially running away 🏃‍♂️‍ ("leave building")

#git #programming #software

blog:cknoll · git fire

Suggested new version of the meme. Text:

In case of fire

1. git fire*
2. don't be a selfish dumbass


*This requires defining a custom git-alias. Read the article for more information.
Suggested new version of the meme. Text: In case of fire 1. git fire* 2. don't be a selfish dumbass *This requires defining a custom git-alias. Read the article for more information.
Suggested new version of the meme. Text: In case of fire 1. git fire* 2. don't be a selfish dumbass *This requires defining a custom git-alias. Read the article for more information.
Original version of the meme. Text:

In case of fire

1. git commit
2. git push
3. leave building

diagonal over the whole image there is the stamp: "deprecated"
Original version of the meme. Text: In case of fire 1. git commit 2. git push 3. leave building diagonal over the whole image there is the stamp: "deprecated"
Original version of the meme. Text: In case of fire 1. git commit 2. git push 3. leave building diagonal over the whole image there is the stamp: "deprecated"
  • Copy link
  • Flag this post
  • Block
Log in

Kakapo Social

Kakapo Social: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login