Re: Lots of branches
+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 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
Re: Lots of branches
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 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 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
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 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 >