house9

random code and what not

Git Log Formatting

The git log command is great and has tons of good information, but the output doesn’t give you that nice ‘overview’ of the commit history, too much detail on too many lines

I’ve been using the following in my .gitconfig file
l = log -20 –format=’%h %ad %d %an: %s’ –date=short
typing ’git l’ renders the following output:



Last night I watched the Destroy All SoftwarePRETTY GIT LOGS” screencast which takes ’git l’ to the next level

now ’git l’ renders