NetBeans' git integration is fairly complete and can be very useful to manage external projects outside NetBeans in some situations where you don't have a "NetBeans Project" or native git installed.
Suggested feature would be to have "Team -> Git -> Open..." (and "Team -> Remote -> Open..." when in git context) to open any git repository to Git Repository Browser.
This would also require the right click context menu on the repository itself in the browser to have "Repository -> Close" function to close any open repository. Bug 247614 could also be resolved using this.
Bug 247614 is WONTFIX, i agree there could be "Close" in the browser to get rid of the repo off the view.
And something like open repo makes sense too.
BTW, as i noted in bug 247614, there is the Favorites view which is pretty much the view for browsing files that are not part of any NetBeans project. Once you browse the view and navigate to the git repository there, it will be auto added to the repository browser view.
(In reply to Ondrej Vrabec from comment #2)
> BTW, as i noted in bug 247614, there is the Favorites view which is pretty
> much the view for browsing files that are not part of any NetBeans project.
> Once you browse the view and navigate to the git repository there, it will
> be auto added to the repository browser view.
It's not that easy to discover as I don't for example ever use that view in my day to day work where all open files belong to a NetBeans project. However, that is also convenient to exist.
That with the ability to manually open and close a git repository using the menus will make it more discoverable for many I would think and fixes "sticky" repositories which is an actual issue.
fixed: core-main #2cac4f5d6071
Integrated into 'main-silver', will be available in build *201410050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Ondrej Vrabec <email@example.com>
Log: Issue #247615 - Allow opening any git repo to Git Repository Browser
I've downloaded the latest nightly and tested the functionality to work as expected as well as closing any open repository.
*** Bug 248392 has been marked as a duplicate of this bug. ***