all repos — archive/dotfiles @ 03165f6cd7fdd3963d715ae90038ae2d8131f710

Superseded by nixfiles

Git: Fix delete-merged alias
Alan Pearce alan.pearce@spotcap.com
Wed, 26 Aug 2015 10:08:34 +0200
commit

03165f6cd7fdd3963d715ae90038ae2d8131f710

parent

b5d24a676866ad93be7ea6175cd29bf155c85ca4

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

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