all repos — archive/dotfiles @ 9642a038b4c08f953913521f87b8a7d97fd320f7

Superseded by nixfiles

Git add delete-merged command
Alan Pearce alan.pearce@spotcap.com
Mon, 17 Aug 2015 17:06:50 +0200
commit

9642a038b4c08f953913521f87b8a7d97fd320f7

parent

ab9a540e35dfea6518f40e110f2f47f57e73dcc4

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M tag-git/config/git/configtag-git/config/git/config
@@ -19,6 +19,7 @@ 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
 	pr = pull-request
+	delete-merged = '!sh git branch --merged | grep -v "\\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d'
 [github]
 	user = alan@alanpearce.co.uk
 [diff]