#!/bin/bash
for i in $(ls -d *|grep -v '_'|grep '[0-9]')
do
echo $i
cd /opt/walle_home/codebase/$i && git checkout master && git remote prune origin && git branch|grep -v master |xargs git branch -D
done
exit 0
剔除walle下的无效分支
最新推荐文章于 2021-02-22 17:06:32 发布