diff options
| -rw-r--r-- | git/dotgitconfig | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/git/dotgitconfig b/git/dotgitconfig index 45b6318..c155533 100644 --- a/git/dotgitconfig +++ b/git/dotgitconfig @@ -27,9 +27,10 @@ [commit] gpgsign = true -[alias] - st = status -sb - tree = log --oneline --decorate --graph +[gpg] + format = ssh +[gpg "ssh"] + allowedSignersFile = ~/.ssh/allowed_signers [tig] main-view-date-display = no @@ -37,7 +38,13 @@ [tig "bind"] status = C !git commit -S -[gpg] - format = ssh -[gpg "ssh"] - allowedSignersFile = ~/.ssh/allowed_signers +[alias] + st = status -sb + tree = log --oneline --decorate --graph + +[alias] + undo = reflog show --pretty=format:'%C(auto)%h %C(blue)%gd%C(reset) %C(yellow)%s%C(reset) %C(green)(%cr)%C(reset)' --date=relative + +[alias] + ghosts = !"git fsck --lost-found | grep commit | cut -d ' ' -f 3 | xargs -n 1 git log -n 1 --pretty=format:'%C(red)%h%C(reset) %s' --color" + |
