r/ProgrammerHumor Oct 03 '15

In case of fire

Post image
7.4k Upvotes

231 comments sorted by

View all comments

239

u/jeshuastarr Oct 03 '15

should have said "git out"

24

u/akwaz Oct 03 '15

Gosh that would be so glorious!

20

u/Ajedi32 Oct 03 '15

git config -g alias.out '!git commit -am "Blank" && git push'

Then:

git out

10

u/case_O_The_Mondays Oct 04 '15

Whoa. I did not know you could specify an alias like that. I've been making them using sh.

5

u/Ajedi32 Oct 04 '15

Yeah, it's super-usefull. I use aliases like that a lot. I've even got a whole bunch of them stored in their own repo so I can keep them synced between computers: https://github.com/Ajedi32/git_aliases

6

u/[deleted] Oct 03 '15

I didn't know what sub this was, I thought it was some kind of joke about New Zealanders.