aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Nazaryev <sergey@nazaryev.com>2021-07-06 23:01:50 +0300
committerSergey Nazaryev <sergey@nazaryev.com>2021-08-11 11:53:37 +0300
commit7d9d653b99b349f78a621ed86387e82b9b1bc1c5 (patch)
tree6edb2edf9f74443eeee0310ada793cfcd70f8d55
parentedf8eebcc13550567fa8871bf5977679745d7cfa (diff)
downloaddotfiles-7d9d653b99b349f78a621ed86387e82b9b1bc1c5.zip
dotfiles-7d9d653b99b349f78a621ed86387e82b9b1bc1c5.tar.gz
dotfiles-7d9d653b99b349f78a621ed86387e82b9b1bc1c5.tar.bz2
bash: add fixup command for git
-rw-r--r--bash_aliases1
1 files changed, 1 insertions, 0 deletions
diff --git a/bash_aliases b/bash_aliases
index b83e038..08e9e2a 100644
--- a/bash_aliases
+++ b/bash_aliases
@@ -8,6 +8,7 @@ command_exists ls && alias ls='LC_COLLATE=C ls -F -h -w 80 --color --gro
command_exists ag && alias grep=ag
command_exists neomutt && alias mutt=neomutt
command_exists imv && alias feh=imv
+command_exists git && alias fixup='git commit -a --fixup HEAD && GIT_SEQUENCE_EDITOR=: git rebase -i HEAD~2'
if command_exists nvim; then
alias vi=nvim