append a session's history on shell exit and unlimited history list
[lab.git] / TipAndDoc / .gitconfig
index 3ee0900..c176433 100644 (file)
@@ -1,13 +1,21 @@
-[user]\r
-       name = Ken-ichi Mito\r
-       email = mitty@mitty.jp\r
-[color]\r
-       ui = true\r
-[alias]\r
-       co = checkout\r
-       ci = commit\r
-       st = status\r
-       br = branch\r
-       hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short\r
-[core]\r
-       excludesfile = ~/.gitignore\r
+[user]
+       name = Ken-ichi Mito
+       email = mitty@mitty.jp
+[color]
+       ui = true
+[alias]
+       br = branch
+       ca = diff --cached
+       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