summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jaeger <git-commit@henk.geekmail.org>2020-11-24 17:02:06 +0100
committerHendrik Jaeger <git-commit@henk.geekmail.org>2020-11-24 17:02:06 +0100
commit47d9435f5dd3b60324d0813935d34751be2b1b7d (patch)
treed0d61de61009edf53e85939bde43a44f183bb557
parentb4edf20a36c66726a5469f6a67d66954cbd97be1 (diff)
expand short options
-rw-r--r--.config/git/config21
1 files changed, 10 insertions, 11 deletions
diff --git a/.config/git/config b/.config/git/config
index e49790f..12a9803 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -41,13 +41,12 @@
[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
@@ -58,12 +57,12 @@
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
@@ -101,15 +100,15 @@
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"