]> git.netwichtig.de Git - user/henk/vcsh/git.git/commitdiff
expand short options
authorHendrik Jaeger <git-commit@henk.geekmail.org>
Tue, 24 Nov 2020 16:02:06 +0000 (17:02 +0100)
committerHendrik Jaeger <git-commit@henk.geekmail.org>
Tue, 24 Nov 2020 16:02:06 +0000 (17:02 +0100)
.config/git/config

index e49790f28d61e7a179299f6978c3f062f2dff69f..12a9803726e554c2ec20a63e67caf32f16857f83 100644 (file)
 
 [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"