From 481c81c68a822412590ef78d9e4d156249185f8a Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 1 Mar 2024 11:23:24 +0100 Subject: [PATCH] git: add taglist command --- gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/gitconfig b/gitconfig index 2f0cfda..41f7e18 100644 --- a/gitconfig +++ b/gitconfig @@ -36,3 +36,4 @@ abbrevcommit = true showtool = "!showci () { rev=${1:-HEAD}; git difftool $rev~1 $rev; }; showci $1" mylog = "log --pretty='format:👉 %C(yellow)commit: %h%C(auto)%d %Creset%nAuthor: %C(auto,cyan)%>(12)%an (%aE)%n%C(reset)Date: %C(auto,green)%ar%Creset%nContent: %s'" flog = "!flog() { git log --oneline $@ | fzf --multi --preview 'git -p show --color=always {+1}' --preview-window=right,60% | awk '{print $1}'; }; flog" +taglist = "tag --list --sort=-creatordate --format=\"%(authordate:relative)%09│ %(refname:short)\""