add 'graph' for gitconfig
[lab.git] / TipAndDoc / .gitconfig
index 60f8e89..c176433 100644 (file)
@@ -13,6 +13,7 @@
        nm = branch --no-merged
        st = status -uno
        tree = log --pretty=format:\"%h %ad %d\" --graph --simplify-by-decoration --date=short
+       graph = log --graph --date=short --pretty=\"format:%C(yellow)%h %C(cyan)%ad %C(green)%an%Creset%x09%s %C(red)%d%Creset\"
 [core]
        excludesfile = ~/.gitignore
        editor = vim