Add insane aliases to sign previous commits
This commit is contained in:
parent
42b095a4ac
commit
a263b38fa0
@ -52,6 +52,8 @@ alias 'amendnew'='git commit -S --amend --date "`date -R`"'
|
|||||||
alias 'fetch'='git fetch'
|
alias 'fetch'='git fetch'
|
||||||
alias 'stash'='git stash'
|
alias 'stash'='git stash'
|
||||||
alias 'resetb'='git reset --hard @{u}'
|
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() {
|
function gd() {
|
||||||
git diff HEAD~$1
|
git diff HEAD~$1
|
||||||
|
Loading…
Reference in New Issue
Block a user