update script

Signed-off-by: Lee Tang <i@d0zingcat.dev>
This commit is contained in:
Lee Tang
2023-02-23 11:10:52 +08:00
parent 5182b7bc56
commit 681496a57e

2
.zshrc
View File

@@ -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
}