Permalink
Browse files

Improved git hist alias to make it prettier/more readable

  • Loading branch information...
1 parent 3347234 commit 72133a389163ecc90cf9db2c46152e82836e06cc @pedrokost committed Jun 22, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 gitconfig
View
@@ -33,9 +33,7 @@
df = diff
dif = diff
dfw = diff -w
- lg = log -p
- lol = log --graph --decorate --pretty=oneline --abbrev-commit
- hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
+ hist = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%Creset' --abbrev-commit
type = cat-file -t
dump = cat-file -p
[credential]

0 comments on commit 72133a3

Please sign in to comment.