Git Clean Gone Branches (Grade A) logo

Git Clean Gone Branches (Grade A)Claude AI 的安全测试开发技能。A 等。删除远程追踪分支不存在的本地分支。使用当用户说“清理分支”,”删除失踪分支”,“剪枝本地分支”、“清理失踪”或想要移除本地分支无远程存在时。

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

清理远程追踪分支不存在的本地分支。使用当用户说“清理分支”,”删除失踪分支”,“剪枝本地分支”、“清理失踪”或想要移除本地分支无远程存在时。同时也处理与分支相关的 worktree。该工具经过三个步骤:通过拉取最新的远程状态来发现失踪分支,呈现分支进行确认,处理确认分支并在处理与分支相关的 worktree。安全测试的开发技能,是为 Claude AI 给出的 A 等。

主要功能

  • 发现失踪分支
  • 呈现分支进行确认
  • 删除确认分支
  • 处理与分支相关的 worktree
  • 剪枝本地分支

价格

模型
Free
评分
暂无评价

使用场景

清理过期的分支

使用该工具移除无远程对应的本地分支,保持仓库干净。

自动化分支维护

将工具融入开发工作流程,以自动化清除失踪分支和相关 worktree 的过程。

优点 & 缺点

优点

  • 移除无用的本地分支
  • 处理与分支相关的 worktree
  • 简单的确认
  • 基于远程状态剪枝本地分支

缺点

  • 需要用户确认删除
  • 仅限于失踪远程追踪分支的分支
  • 不支持选择性移除分支

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

What user interaction is required before branches are removed?

After listing all detected gone branches, the tool prompts the user with a simple yes/no question (e.g., “Delete all of them? y/n”). Deletion proceeds only if the user confirms; otherwise, the process stops without making changes.

Asked by Constantin Ionescu · Sep 16, 2025

Will the tool delete worktrees linked to the stale branches?

Yes. Before removing a branch, the script checks `git worktree list` for any worktree associated with that branch and, if found, removes it with `git worktree remove --force` to ensure no orphaned worktrees remain.

Asked by Esther Adeyemi · Jul 26, 2025

How does Git Clean Gone Branches identify which local branches to delete?

The tool runs a discovery script that first executes `git fetch --prune` to update the remote state, then parses `git branch -vv` for branches marked as `: gone]`, indicating their remote tracking branch has been deleted.

Asked by Frank Müller · Jul 6, 2025

提问

育言活动 的替代品

Using Git Worktrees (Grade A) logo
Using Git Worktrees (Grade A)育言活动

安全试验的数据-AI技能 - Claude AI。A级。即将开始需要与当前工作环境隔离的功能工作,或执行实施计划前-创建隔离的git工作tree

(0)
Free
Ga4 Bigquery Schema (Grade A) logo
Ga4 Bigquery Schema (Grade A)育言活动

为Claude AI提供了经过安全测试的数据ai技能。 Grade A. GA4 BigQuery导出模式参考 - 完整字段参考、嵌套结构、查询模式和性能提示

(0)
Free
Meta Capi (Grade A) logo
Meta Capi (Grade A)育言活动

安全测试的数据-AI技能,专为Claude AI打造。Grade A. Meta Conversions API (CAPI) 设置指南-架构、事件类型、客户信息哈希、去重复、实现示例、AEM

(0)
Free
Callees (Grade A) logo
Callees (Grade A)育言活动

经过安全测试的 Claude AI 开发技能。Grade A。列出函数/方法调用的直接调用图

(0)
Free
Test Module Name (Grade A) logo
Test Module Name (Grade A)育言活动

安全测试数据-ai技能,Grade A. 名为Haskell测试模块,以同一命名空间中的测试模块命名,并在其后添加 Spec 辅助。 在编写或审阅Haskell测试模块时使用。

(0)
Free
Board Of Directors (Grade A) logo
Board Of Directors (Grade A)育言活动

经安全检测的数据 AI 技能,适用于 Claude AI。A级。模拟五位专家董事会就重大决策进行审议。用于评估计划、架构选择、功能设计或任何决策。

(0)
Free
Advpl Mvc Avancado (Grade A) logo
Advpl Mvc Avancado (Grade A)育言活动

安全测试的开发技能,适用于 Claude AI。Grade A。通过 PE(入口点)实现高级 MVC —— 在标准 MVC 界面(CNTA300/MATA070/MATA440/MATA460/FINA040 via *STRU)中添加自定义网格。

(0)
Free
D
Docs Writer (Grade A)育言活动

经过安全测试的 DevOps 技能,适用于 Claude AI。Grade A。**WORKFLOW SKILL** — 在 docs site、agent files 和 changelog 中保持仓库文档的准确性和新鲜度。WHEN: "update docs"

(0)
Free