From a263b38fa07dc8894e3caa3fe14dd4fda3b52066 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Tue, 23 Jun 2020 16:54:58 -0400 Subject: [PATCH] Add insane aliases to sign previous commits --- .bash_aliases | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bash_aliases b/.bash_aliases index e465fbe..e881293 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -52,6 +52,8 @@ alias 'amendnew'='git commit -S --amend --date "`date -R`"' alias 'fetch'='git fetch' alias 'stash'='git stash' alias 'resetb'='git reset --hard @{u}' +alias 'signhist'='git rebase --exec "git commit -S --amend --no-edit -n"' +alias 'signhistnew'='git rebase --exec "git commit -S --amend --date '\''`date -R`'\'' --no-edit -n"' function gd() { git diff HEAD~$1