diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2025-12-31 08:23:50 -0600 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2025-12-31 08:23:50 -0600 |
| commit | c223282e6a8066d67cabf2f1376161e266e5b6a5 (patch) | |
| tree | 1cd5258925793445840507d5c4d783a95c64b1da /git | |
| parent | e98d60edebc988337e751e4f348381706658a0e8 (diff) | |
aliases
Diffstat (limited to 'git')
| -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" + |
