From a5066d8e67e9c4c1ca920579727e2e5f094ae3df Mon Sep 17 00:00:00 2001 From: fanyx Date: Thu, 12 Oct 2023 12:00:05 +0200 Subject: [PATCH] Add fixup alias --- .config/git/config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/git/config b/.config/git/config index 2006480..1271549 100644 --- a/.config/git/config +++ b/.config/git/config @@ -12,7 +12,8 @@ co = checkout cn = checkout -b cm = commit -m - l = log --pretty='format:%h %G? %s%d' -n20 --graph --color + l = log --pretty='format:%h %G? %s%d' -n10 --graph --color + fixup = "!git log -n50 --pretty='format:%h %s' --no-merges | fzf | cut -c -7 | xargs -o git commit --fixup" tags = tag -l branches = branch -a remotes = remote -v