summary refs log tree commit diff stats
path: root/tag-git/config
diff options
context:
space:
mode:
Diffstat (limited to 'tag-git/config')
-rw-r--r--tag-git/config/git/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/tag-git/config/git/config b/tag-git/config/git/config
index 79be22e..c005d2a 100644
--- a/tag-git/config/git/config
+++ b/tag-git/config/git/config
@@ -19,6 +19,7 @@
 	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]