Git Happens

Everyone knows that git happens. That makes this a happening place.

Git log cheat-sheet

because the documentation is not organized the way I want it.

Custom formats

git log --format="format string goes here"

where format can include these special variables:

author
Examplecommit
Tue Sep 3 19:36:09 2013 +0200adcd
Tue, 3 Sep 2013 19:36:09 +0200aDcD
13 days agoarcrrelative
2013-09-03 19:36:09 +0200aicisortable
1378229769atctUnix timestamp

Weird things I haven’t wanted to use yet: