Joined August 2012
·

Paweł Tomak

Opera Software
·
Wrocław, Poland
·
·
·

You can do it shorter: git show

@passcod @inkel: in zsh, it's better to use

history 1 . | .......

or ${HISTFILE} instead of ~/.histfile

My most used git commands

1 51  13.8965%   log
2 50  13.624%    co
3 22  5.99455%   diff
4 22  5.99455%   commit
5 18  4.90463%   reset
6 17  4.63215%   stash
7 17  4.63215%   clone
8 17  4.63215%   add
9 15  4.08719%   merge
10 14  3.81471%   cot 
Posted to My git log over 1 year ago

Thanks for the tip. And here's a git alias:
lg = log --graph --pretty='format:%C(yellow)%h%Cred%d%Creset %s %C(white) %C(cyan)%an%Creset, %C(green)%ar%Creset'

This works fine for me.

Achievements
55 Karma
509 Total ProTip Views
Interests & Skills