From 8f00c98d5d06a0f9eed7ffa717aa9141d19b8ca7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 12 Dec 2017 16:47:44 +0100 Subject: git: add aliases for lasttag and pending (merged PRs not in a tag) --- git/.config/git/config | 2 ++ 1 file changed, 2 insertions(+) (limited to 'git/.config') diff --git a/git/.config/git/config b/git/.config/git/config index 0acdefb..0a1f1bf 100644 --- a/git/.config/git/config +++ b/git/.config/git/config @@ -17,6 +17,8 @@ br = branch co = checkout ready = rebase -i @{u} + lasttag = "!sh -c 'git tag --sort=taggerdate | 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' standup = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --since yesterday --author Alan ignored = ls-files --others -i --exclude-standard -- cgit 1.4.1