下記のコマンドでOK
# check
git branch --merged | grep -v main
# bulk delete
git branch --merged | grep -v main | xargs -I{} git branch -d {}
役に立った方はLGTMお願いします.
Go to list of users who liked
More than 3 years have passed since last update.
下記のコマンドでOK
# check
git branch --merged | grep -v main
# bulk delete
git branch --merged | grep -v main | xargs -I{} git branch -d {}
役に立った方はLGTMお願いします.
Register as a new user and use Qiita more conveniently
Go to list of users who liked