diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2018-03-22 13:38:24 +0000 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2018-03-22 13:38:24 +0000 |
commit | 5f431e6c6f95c170bff991e124b6165e5a1ba9d5 (patch) | |
tree | c67b0d141d6871e8f54d4f1841e5ff83e9bcbda1 /%HOME%/.gitconfig | |
parent | htoprc: auto-updated for some reason (diff) | |
download | linux-home-5f431e6c6f95c170bff991e124b6165e5a1ba9d5.tar.gz linux-home-5f431e6c6f95c170bff991e124b6165e5a1ba9d5.zip |
.gitconfig: add alias.fixup
Diffstat (limited to '%HOME%/.gitconfig')
-rw-r--r-- | %HOME%/.gitconfig | 2 |
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] |