all repos — nixfiles @ 9b90f52bb241c3c458a80cf63964b860eda7415f

System and user configuration, managed by nix and home-manager

git: improve lasttag alias

Alan Pearce
commit

9b90f52bb241c3c458a80cf63964b860eda7415f

parent

6388f7523ae56bd642b0038967804eadabfe214e

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M git/.config/git/configgit/.config/git/config
@@ -17,7 +17,7 @@ ci = commit
br = branch co = checkout ready = rebase -i @{u} - lasttag = "!sh -c 'git tag --sort=taggerdate | tail -n1'" + lasttag = "!sh -c 'git tag --sort=version:refname | tail -n1'" pending = "!sh -c 'git log --oneline --merges --grep=\"Merge pull request\" ...$(git lasttag)'" lg = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' ignored = ls-files --others -i --exclude-standard