You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beam.apache.org by Ahmet Altay <al...@google.com> on 2021/05/08 00:35:38 UTC

Lots of branches

Hello all,

Our git repo has lots of branches for cherry picks, patches, reverts etc. I
believe these are artifacts of github's easy to use online editor. If you
no longer need those, could you please clean them?

Have a great weekend!
Ahmet

Re: Lots of branches

Posted by Ismaël Mejía <ie...@gmail.com>.
Big +1

If you want to know if you have accidentally let some branches in the
'apache/beam' origin this command may help:

git for-each-ref --format='%(authorname) %09 %(refname)' --sort=authorname
| grep "origin" | grep -v "release"


On Sat, May 8, 2021 at 5:01 AM Daniel Oliveira <da...@google.com>
wrote:

> Agreed, it would be a good idea to clean it out a bit. I went and deleted
> my own unnecessary branches.
>
> For anyone who needs it, here's a page listing all your branches in the
> repo: https://github.com/apache/beam/branches/yours
>
> On Fri, May 7, 2021 at 5:36 PM Ahmet Altay <al...@google.com> wrote:
>
>> Hello all,
>>
>> Our git repo has lots of branches for cherry picks, patches, reverts etc.
>> I believe these are artifacts of github's easy to use online editor. If you
>> no longer need those, could you please clean them?
>>
>> Have a great weekend!
>> Ahmet
>>
>

Re: Lots of branches

Posted by Daniel Oliveira <da...@google.com>.
Agreed, it would be a good idea to clean it out a bit. I went and deleted
my own unnecessary branches.

For anyone who needs it, here's a page listing all your branches in the
repo: https://github.com/apache/beam/branches/yours

On Fri, May 7, 2021 at 5:36 PM Ahmet Altay <al...@google.com> wrote:

> Hello all,
>
> Our git repo has lots of branches for cherry picks, patches, reverts etc.
> I believe these are artifacts of github's easy to use online editor. If you
> no longer need those, could you please clean them?
>
> Have a great weekend!
> Ahmet
>

Re: Lots of branches

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
+1

On other projects, I have script mostly doing:

$ git branch —merged
$ git branch -d MERGED
$ git remote prune REMOTE

Regards
JB

> Le 8 mai 2021 à 02:35, Ahmet Altay <al...@google.com> a écrit :
> 
> Hello all,
> 
> Our git repo has lots of branches for cherry picks, patches, reverts etc. I believe these are artifacts of github's easy to use online editor. If you no longer need those, could you please clean them?
> 
> Have a great weekend!
> Ahmet