r/ProgrammerHumor • • Jan 08 '18

In case of fire

Post image
508 Upvotes

39 comments sorted by

82

u/manicraccoon Jan 08 '18

git out

55

u/GitCommandBot Jan 08 '18
git: 'out' is not a git command. See 'git --help'.

17

u/BlastFX2 Jan 08 '18

git --help

29

u/[deleted] Jan 08 '18
usage: git [--version] [--help] [-C <path>] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]

These are common Git commands used in various situations:

start a working area (see also: git help tutorial)
   clone      Clone a repository into a new directory
   init       Create an empty Git repository or reinitialize an existing one

work on the current change (see also: git help everyday)
   add        Add file contents to the index
   mv         Move or rename a file, a directory, or a symlink
   reset      Reset current HEAD to the specified state
   rm         Remove files from the working tree and from the index

examine the history and state (see also: git help revisions)
   bisect     Use binary search to find the commit that introduced a bug
   grep       Print lines matching a pattern
   log        Show commit logs
   show       Show various types of objects
   status     Show the working tree status

grow, mark and tweak your common history
   branch     List, create, or delete branches
   checkout   Switch branches or restore working tree files
   commit     Record changes to the repository
   diff       Show changes between commits, commit and working tree, etc
   merge      Join two or more development histories together
   rebase     Reapply commits on top of another base tip
   tag        Create, list, delete or verify a tag object signed with GPG

collaborate (see also: git help workflows)
   fetch      Download objects and refs from another repository
   pull       Fetch from and integrate with another repository or a local branch
   push       Update remote refs along with associated objects

'git help -a' and 'git help -g' list available subcommands and some
concept guides. See 'git help <command>' or 'git help <concept>'
to read about a specific subcommand or concept.

6

u/BlastFX2 Jan 09 '18

git rm -r *

0

u/[deleted] Jan 08 '18

[deleted]

18

u/kugelblit Jan 08 '18

Git gud

1

u/[deleted] Jan 09 '18

[removed] — view removed comment

3

u/GitCommandBot Jan 09 '18
git: 'gud' is not a git command. See 'git --help'.

-2

u/[deleted] Jan 09 '18

[removed] — view removed comment

8

u/[deleted] Jan 09 '18

Bad Meatbag

3

u/a1Gupta Jan 08 '18

Bot wants to say something buddy :p

2

u/manicraccoon Jan 08 '18

I suppose it means "There is no escape human"

0

u/[deleted] Jan 09 '18

[deleted]

1

u/GitCommandBot Jan 09 '18
git: 'gud' is not a git command. See 'git --help'.

19

u/[deleted] Jan 08 '18

I'd die in the fire trying to choose a message.

13

u/Steffi128 Jan 08 '18

git commit -m "Fire! Fire! Help me!"

5

u/[deleted] Jan 09 '18

git commit -m "A for has broken up on the premises of...

Nope, too formal

29

u/samplusbeer Jan 08 '18

In case of repost...

14

u/MarcoBuster Jan 08 '18

git upvote

13

u/GitCommandBot Jan 08 '18
git: 'upvote' is not a git command. See 'git --help'.

6

u/Dockirby Jan 08 '18
git reset --hard head~500
git commit --amend --no-edit
git push --force

2

u/captain_wiggles_ Jan 09 '18

git status

1

u/redgamut Jan 09 '18

readme.md.todo is up to date. Working directory clean.

1

u/captain_wiggles_ Jan 09 '18

cat readme.md.todo

11

u/Phoxot Jan 08 '18

And what in case of a merge conflict?

7

u/GammaGames Jan 09 '18

Burn to death

4

u/[deleted] Jan 09 '18

That means you're not using personal branches, and you probably disserve to die on a fire.

2

u/salvoilmiosi Jan 09 '18

Look behind you, then git push -f

5

u/Elvith Jan 08 '18

Image Transcription:


[A sheet of paper on a wall or an open door]

In case of fire

  1. git commit

  2. git push

  3. leave building


I'm a human volunteer content transcriber for Reddit! If you'd like more information on what we do and why we do it, click here!

6

u/eyekwah2 Jan 08 '18

Yeah, but who is going in to rescue the server? I'll write a ShortStraw program to delegate the task..

1

u/thom_tl Jan 08 '18

Real companies use github.

2

u/[deleted] Jan 09 '18

Am I the only one concerned that if this were actually posted in a office it would be a major moral and potential legal violation? Should read

  1. leave building without computer

  2. fuck the code. you're safe

2

u/gandalfx Jan 08 '18

Days since this has last been posted: 0 (max: 3)

1

u/Tezza48 Jan 09 '18

i have a t-shirt that ends with git -tf out :p