From 8ce4188c5601f97ef966878f7621ae1825f8ac2a Mon Sep 17 00:00:00 2001 From: Daniel Lynn Date: Mon, 19 Jul 2021 10:54:31 -0500 Subject: [PATCH] Fix git cleanup command --- gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitconfig b/gitconfig index 8e790c5..851e1f9 100644 --- a/gitconfig +++ b/gitconfig @@ -16,7 +16,7 @@ br = branch last = log -1 HEAD cl = clone - cleanup = "!git branch --merged | egrep -v '(*|master|main|dev|develop)' | xargs -r git branch -d" + cleanup = "!git branch --merged | egrep -v \"(\\*|master|main|dev|develop)\" | xargs -r git branch -d" [user] email = __[email]__ name = __[name]__