feat: add git fixup alias and signature support

This commit is contained in:
2020-11-17 11:07:09 -07:00
parent 815f54be68
commit d02733bff1

View File

@@ -6,6 +6,7 @@
bi = bisect bi = bisect
ci = commit ci = commit
co = checkout co = checkout
fu = commit --fixup
cp = cherry-pick cp = cherry-pick
di = diff di = diff
dc = diff --cached dc = diff --cached
@@ -25,9 +26,10 @@
head = !git l -1 head = !git l -1
h = !git head h = !git head
hp = "!source ~/.githelpers && show_git_head" hs = !git head --show-signature
r = !git l -30 r = !git l -30
ra = !git r --all ra = !git r --all
rs = !git log --oneline --show-signature
l = "!source ~/.githelpers && pretty_git_log" l = "!source ~/.githelpers && pretty_git_log"
la = !git l --all la = !git l --all
sync = "!source ~/.githelpers && sync_to_remote" sync = "!source ~/.githelpers && sync_to_remote"
@@ -35,6 +37,7 @@
bp = !git backport bp = !git backport
backport = "!source ~/.githelpers && backport_pr" backport = "!source ~/.githelpers && backport_pr"
track = "!source ~/.githelpers && track_remote" track = "!source ~/.githelpers && track_remote"
sign = "!git commit -S --amend --no-edit"
todo = grep --heading --break --ignore-case -e ' FIX: *' -e ' TODO: *' todo = grep --heading --break --ignore-case -e ' FIX: *' -e ' TODO: *'
pr = "!source ~/.githelpers && get_pr" pr = "!source ~/.githelpers && get_pr"