Thanks John. I'll do a quick search for such a script - not to use it (I think I'd rather do it manually), but to see what order it should be done in (remote delete first or local?). But hopefully someone on this group will still chime in with what order they do it *successfully* from within NB's GIT browser :-)
On Tue, Jan 30, 2018 at 3:43 PM, John McDonnell <[email protected]> wrote: > Hi Thomas, > > For removing "stale" branches there are some scripts available from > sources like StackOverflow. I know I had one before, which was very useful > as we too created branches for each defect. > > As for the other, more NetBeans related question, to see all branches > available, I usually go "right click file -> Git -> Remote -> Fetch..." > The dialog shown here shows all the branches in my repository. > > Regards > > John > > On 30 January 2018 at 16:56, Thomas Wolf <[email protected]> wrote: > >> ...and related to my first question: how do I see all remote branches? >> It seems that only the branches I created are visible to me in "Git >> Repository Browser"->"Repository"->"Branches"->"Remote". >> >> Thnx, >> tom >> >> On Tue, Jan 30, 2018 at 11:52 AM, Thomas Wolf <[email protected]> wrote: >> >>> >>> Our group creates a lot of branches - one for each bug we fix. For a >>> given bug we start off creating a local branch. When it's fixed, I push >>> the branch to our server so testing can verify it. At that point, NB >>> offers to track the branch. When testing accepts the change, I typically >>> merge it into the main branch and that defect branch is no longer used. >>> >>> What is the best way (and order) to delete these temporary but tracked >>> branches (they're cluttering up branch selection dialogs)? On the server >>> first or in the local repository? I'm fairly new to Git so, perhaps the >>> question might be independent of NB, but I want to make sure I don't put NB >>> in a strange state if I delete in the wrong order. >>> >>> I imagine I would do the deletions from the "Git Repository Browser"? >>> >>> Thanks for all info, >>> tom >>> >>> >>> -- >>> [email protected] >>> http://landofwolf.blogspot.com/ >>> >> >> >> >> -- >> [email protected] >> http://landofwolf.blogspot.com/ >> > > -- [email protected] http://landofwolf.blogspot.com/
