From 09b1a3a47a2381c0995547f1476d97ad0efdbbac Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Mon, 21 Aug 2023 16:58:18 +0300 Subject: [PATCH] Git: add recommit alias --- home/.config/git/config | 1 + 1 file changed, 1 insertion(+) diff --git a/home/.config/git/config b/home/.config/git/config index 81caa661..7ed9473b 100644 --- a/home/.config/git/config +++ b/home/.config/git/config @@ -46,6 +46,7 @@ rebase = merges mergetest = !git switch test && git pull && git merge --no-ff -m \"Merge $1 features to test\" $1 upstream = !git push -u origin HEAD sync = !git pull && git push +recommit = !git commit -eF $(git rev-parse --git-dir)/COMMIT_EDITMSG [color] pager = no