git: enable pending with GitHub squash-merges
Alan Pearce alan@alanpearce.eu
Thu, 27 Sep 2018 13:54:06 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M git/.config/git/config → git/.config/git/config
@@ -18,7 +18,7 @@ br = branch co = checkout ready = rebase -i @{u} lasttag = "!sh -c 'git tag --sort=version:refname | grep \"^v\\?[0-9]\" | tail -n1'" - pending = "!sh -c 'git log --oneline --merges --grep=\"Merge pull request\" ...$(git lasttag)'" + pending = "!sh -c 'git log --oneline --grep=\"#[0-9]\" ...$(git lasttag)'" lg = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an> %Cred%d%Creset' ignored = ls-files --others -i --exclude-standard bump = !bmpr