[ 
https://issues.apache.org/jira/browse/MYRIAD-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15153469#comment-15153469
 ] 

Zachary Jaffee edited comment on MYRIAD-165 at 2/19/16 1:04 AM:
----------------------------------------------------------------

I'm not a committer to myriad, so I cant take care of it, but should you be 
already within a local git repository that has its remote set directly to the 
apache github repo, you can run the following bash script. Feel free to modify 
the variable list as needed for the various items you want to have deleted.
{noformat}
#/bin/bash
list=("origin/constraints"  "origin/docker-image" 
"origin/executor-only-application" "origin/issue_14" "origin/issue_16" 
"origin/multi-project" "origin/myriadha" "origin/phase1")
for i in ${list[@]}; do
    git push origin --delete ${i}
done
{noformat}


was (Author: zjaffee):
I'm not a committer to myriad, so I cant take care of it, but should you be 
already within a local git repository that has its remote set directly to the 
apache github repo, you can run the following bash script. Feel free to modify 
the variable list as needed for the various items you want to have deleted.

#/bin/bash
list=("origin/constraints"  "origin/docker-image" 
"origin/executor-only-application" "origin/issue_14" "origin/issue_16" 
"origin/multi-project" "origin/myriadha" "origin/phase1")
for i in ${list[@]}; do
    git push origin --delete ${i}
done

> Cleanup old branches in git
> ---------------------------
>
>                 Key: MYRIAD-165
>                 URL: https://issues.apache.org/jira/browse/MYRIAD-165
>             Project: Myriad
>          Issue Type: Improvement
>            Reporter: Jim Klucar
>            Priority: Trivial
>             Fix For: Myriad 0.2.0
>
>
> The git repo contains several old branches that are out of date and/or have 
> been merged into master. We should review the published branches and prune 
> what's not needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to