commit d5e69cb1b743dfc92b56c6f2b2ed12be05e6e39a
parent b6bed19f1305cb81ba6665410cf38e741a9abcb3
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 16 Apr 2020 12:19:19 +0200
Change diff and checkout aliases
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitconfig b/.gitconfig
@@ -11,8 +11,9 @@
ca = commit -a -v
cp = !git commit -v && git push
cap = !git commit -a -v && git push
- ch = diff HEAD^
+ ch = checkout
d = !git -P diff --
+ dh = diff HEAD^
l = log --pretty='format:%h %s%d' -n 20 --graph
p = push
pu = !git pull && git fetch --all