Migration of master edits since branch

This commit is contained in:
Wryn Wagner
2019-12-30 17:48:29 -07:00
parent fb370990fe
commit 144927b8b9
5 changed files with 36 additions and 10 deletions

View File

@ -44,7 +44,7 @@ function rntbranchcleanup() {
rnt $dir >/dev/null 2>/dev/null;
if [ -d .git ]; then
printf " - %s\e[1;34m %s\e[0m..." "clearing repository" "$dir";
git branch -d $(git branch | sed -E "/master|\*/d") >/dev/null 2>/dev/null;
git branch -d $(git branch | sed -E "/master|\*|epic-*/d") >/dev/null 2>/dev/null;
printf "\e[1;32m%s\e[0m\n" " DONE";
else
printf " - \e[1;34m%s\e[1;31m %s\e[0m" "$dir" "is not a git repository";