sh 使用正则表达式删除git分支

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 使用正则表达式删除git分支相关的知识,希望对你有一定的参考价值。

#!/bin/bash

git branch -D `git branch | grep -E 'lr*'`

以上是关于sh 使用正则表达式删除git分支的主要内容,如果未能解决你的问题,请参考以下文章

sh 删除远程git分支

sh Bash / Git - 删除本地和远程分支以进行repo清理

sh Bash / Git - 删除本地和远程分支以进行repo清理

sh Bash / Git - 删除本地和远程分支以进行repo清理

sh Bash / Git - 删除本地和远程分支以进行repo清理

sh Bash / Git - 删除本地和远程分支以进行repo清理