aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to '%HOME%/.gitconfig')
-rw-r--r--%HOME%/.gitconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/%HOME%/.gitconfig b/%HOME%/.gitconfig
index 720cf1d..0758758 100644
--- a/%HOME%/.gitconfig
+++ b/%HOME%/.gitconfig
@@ -27,6 +27,8 @@
hide = update-index --skip-worktree
unhide = update-index --no-skip-worktree
hidden = !git ls-files -v | grep --basic-regexp \"^\\([[:lower:]]\\|S\\)\"
+
+ fixup = !git commit -a --fixup=HEAD && GIT_EDITOR=true git rebase -i --autosquash HEAD~2
[fetch]
prune = true
[log]