Author: Kyle Fuller <kyle@fuller.li> 2021-05-22 01:59:36 +0100 +0100
Committer: Kyle Fuller <kyle@fuller.li> 2021-05-22 01:59:36 +0100 +0100
Commit: 69d704a61d7f34331d8688845218e0b920b8e58b
Parent: e0b0462c113c66800d6285dc9c101935d5be5986
feat(git): add alias to create fixup commit
diff --git a/.gitconfig b/.gitconfig
index 1700fd1a94624ae306705d9ebf44b4d6896f0ba8..c47572fb4a52d3292d61e78b47b6d3e992e42f5e 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -15,8 +15,8 @@ wip = commit -m 'wip'
rev = rev-parse HEAD
s = status -s
l = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
- standup = !clear && git log --since '1 day ago' --no-merges --pretty=format':%C(yellow)%h %aN%n %B%n' --author 'Kyle Fuller'
conflict = "!f() { git status -s | grep ^UU | awk '{print $2}' ; }; vim `f`"
+ fixup = "!git log --oneline -n 20 | fzf | cut -d ' ' -f 1 | xargs git commit --no-verify --fixup"
[pull]
ff = only