From 681496a57ed46d8c4fa36effcb9515691027274f Mon Sep 17 00:00:00 2001 From: Lee Tang Date: Thu, 23 Feb 2023 11:10:52 +0800 Subject: [PATCH] update script Signed-off-by: Lee Tang --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index dfe4296..e54ea32 100644 --- a/.zshrc +++ b/.zshrc @@ -197,7 +197,7 @@ function git_clean() { then echo 'Invalid parameter, should based on develop/main/master' else - g checkout $1 && g branch --merged | grep -v $1 | cat | xargs git branch -d + git checkout $1 && git branch --merged | grep -v $1 | cat | xargs git branch -d fi }