From 47d9435f5dd3b60324d0813935d34751be2b1b7d Mon Sep 17 00:00:00 2001 From: Hendrik Jaeger Date: Tue, 24 Nov 2020 17:02:06 +0100 Subject: expand short options --- .config/git/config | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to '.config/git/config') 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" -- cgit v1.2.3