diff options
author | Alan Pearce | 2018-08-01 12:21:54 +0200 |
---|---|---|
committer | Alan Pearce | 2018-08-01 12:21:54 +0200 |
commit | 9b90f52bb241c3c458a80cf63964b860eda7415f (patch) | |
tree | 46cd93fe9f6a69df46476a4c240d579627f12bf4 | |
parent | 6388f7523ae56bd642b0038967804eadabfe214e (diff) | |
download | dotfiles-9b90f52bb241c3c458a80cf63964b860eda7415f.tar.lz dotfiles-9b90f52bb241c3c458a80cf63964b860eda7415f.tar.zst dotfiles-9b90f52bb241c3c458a80cf63964b860eda7415f.zip |
git: improve lasttag alias
-rw-r--r-- | git/.config/git/config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/.config/git/config b/git/.config/git/config index 321862d..e42b4bb 100644 --- a/git/.config/git/config +++ b/git/.config/git/config @@ -17,7 +17,7 @@ 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 |