aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-03-22 13:38:24 +0000
committerEgor Tensin <Egor.Tensin@gmail.com>2018-03-22 13:38:24 +0000
commit5f431e6c6f95c170bff991e124b6165e5a1ba9d5 (patch)
treec67b0d141d6871e8f54d4f1841e5ff83e9bcbda1 /%HOME%
parenthtoprc: auto-updated for some reason (diff)
downloadlinux-home-5f431e6c6f95c170bff991e124b6165e5a1ba9d5.tar.gz
linux-home-5f431e6c6f95c170bff991e124b6165e5a1ba9d5.zip
.gitconfig: add alias.fixup
Diffstat (limited to '%HOME%')
-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]