]> git.netwichtig.de Git - user/henk/vcsh/git.git/blobdiff - .config/git/config
Add default format
[user/henk/vcsh/git.git] / .config / git / config
index e49790f28d61e7a179299f6978c3f062f2dff69f..4916f4aa2d87e299b54432f773dd34fef1a280bf 100644 (file)
@@ -16,6 +16,9 @@
   # delete tracking references and info about remote branches
   # does not delete any branches
   prune = true
+[format]
+  # show a lot of info by default
+  pretty=fuller
 [grep]
   # show linenumber (-n)
   lineNumber = true
 
 [alias]
   a  = add
-  ap = add -p
+  ap = add --patch
   ai = add --interactive
 
   b      = branch
   br     = branch
-  branch = branch -ra
-  bra    = branch -ra
+  bra    = branch --all
 
   co  = checkout
   cob = checkout -b
 
   ci    = commit
   cm    = commit -m
-  cma   = commit -a -m
-  cmv   = commit -a -v
+  cma   = commit --all -m
+  cmv   = commit --all --verbose
   ca    = commit --amend
   amend = commit --amend
-  caa   = commit -a --amend -C HEAD
-  fix   = commit -a --fixup
+  caa   = commit --all --amend --reuse-message=HEAD
+  fix   = commit --all --fixup
 
   diff  = diff --word-diff
   d     = diff --word-diff
   r1  = reset HEAD^
   r2  = reset HEAD^^
   rh  = reset --hard
-  rh1 = reset HEAD^ --hard
-  rh2 = reset HEAD^^ --hard
+  rh1 = reset --hard HEAD^
+  rh2 = reset --hard HEAD^^
 
   sl = stash list
   sa = stash apply
   ss = stash save
 
-  s  = status -s
-  st = status -s
+  s  = status --short
+  st = status --short
 
   # grep on filename
   f = "!git ls-files | grep -i"