From f5843fde9ac3d08495033216ed4bc86b65b21685 Mon Sep 17 00:00:00 2001 From: matijs Date: Sat, 20 Jul 2024 09:13:38 +0200 Subject: [PATCH] feat(git): add git fixup alias Add a `git fixup` alias for `git commit --fixup=HEAD` Running `git fixup -a` also works to add all changed files that are already under version control --- .config/git/config | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/git/config b/.config/git/config index 798477e..7f93886 100644 --- a/.config/git/config +++ b/.config/git/config @@ -6,6 +6,7 @@ [alias] autosquash = -c sequence.editor=true rebase --interactive difft = -c diff.external=difft diff + fixup = commit --fixup=HEAD log-no-tags = log --decorate-refs-exclude=refs/tags pushf = push --force-with-lease remotes = remote --verbose