commit 44103101a2b6a4ec1f46680b38d5a3705f3bc142
parent 51e5d5a9bd5f062bb6eb23e87bd276020769ee89
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 26 Jun 2020 19:38:46 +0200
Add fix alias for fixup and autosquash
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.gitconfig b/.gitconfig
@@ -14,6 +14,7 @@
ch = checkout
d = !git -P diff --
dh = diff HEAD^
+ fix = !git commit --fixup $1 && git rebase -i --autosquash
l = log --pretty='format:%h %s%d' -n 20 --graph
p = push
pu = !git pull && git fetch --all