append a session's history on shell exit and unlimited history list
[lab.git] / TipAndDoc / .gitconfig
index 759195c..c176433 100644 (file)
@@ -6,13 +6,16 @@
 [alias]
        br = branch
        ca = diff --cached
-       ci = commit -v
+       ci = commit -v -uno
        co = checkout
        hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
        ls = ls-files
        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
 [svn]
        pushmergeinfo = true