From a54d3fe8291ef11f4797652561fe6f14c63c7f88 Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Sat, 15 Mar 2025 21:04:16 +0100 Subject: [PATCH] Ingore git-hooks when running 'git fix' --- .config/git/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/git/config b/.config/git/config index ce37999..bb5e9ac 100644 --- a/.config/git/config +++ b/.config/git/config @@ -77,7 +77,7 @@ fa = fetch --all # Mark a change as a fixup to a given commit, e.g. `git fix HEAD~2`, see git commit --help - fix = commit --fixup + fix = commit -n --fixup # Mark a change as fixup and try to squash it immediately into the original commit fixit = "!bash -c 'TARGET_HASH=`git rev-parse "'"'"$1"'"'"`; git fix $TARGET_HASH && git ria $TARGET_HASH^' -e"