查看Eclipse中所有存储库中的所有本地分支

发布于 2025-02-12 20:22:05 字数 211 浏览 0 评论 0原文

我希望一种更好的方法来查看Eclipse中GIT存储库中的所有本地分支机构,这样我就可以提醒自己要么完成它们的工作,或者(如果已经合并)删除它们。我可以右键单击GIT存储库视图中的每个存储库中的每个存储库中的切换,但这是一件非常乏味的事情。我想一次看到所有存储库的分支。

或者,更好的是,根据某些规则,请参阅所有不是“主要分支”的本地分支(例如,所有标题为“开发”或“ Master”的分支)。

I'd like a better way to see all local branches in Git repos in Eclipse, so I can remind myself to either finish working on them or, if already merged, delete them. I can right-click and select Switch To on each repo in Git Repositories view, but that's a rather tedious affair. I want to see the branches of all repos at once.

Or, even better, see all local branches that are not "main branches" according to some rule (e.g. all branches not titled "develop" or "master").

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

纸伞微斜 2025-02-19 20:22:05

我不确定这是您要寻找的内容,但是您可以转到“ git存储库”查看,专注于所需的存储库(目前尚不清楚您是指单个存储库中的所有分支机构还是所有存储库中的所有分支),并扩展该树元素,显示“分支”元素。展开它,查看“本地”元素,然后扩展该元素,以显示该存储库的所有本地分支。

I'm not sure if this is what you are looking for, but you can just go to the "Git Repositories" view, focus on the repository you want (it's not clear whether you are referring to all branches in a single repository, or all branches in all repositories), and expand that tree element, showing the "Branches" element. Expand that, seeing the "Local" element, then expand that, which shows all the local branches for that repository.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文