跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Git Cleanup

插件 活跃

Safely analyzes and cleans up local git branches and worktrees by categorizing them as merged, squash-merged, superseded, or active work.

1 个 Skill 0 个 MCP
目的

To provide a safe and guided workflow for cleaning up accumulated local git branches and worktrees, preventing accidental data loss.

功能

  • Categorizes branches as merged, gone, or active
  • Analyzes worktrees for staged/uncommitted changes
  • Requires explicit user confirmation for all deletions
  • Uses safe delete commands (`-d`) and force delete (`-D`) where appropriate
  • Groups related branches for collective review

使用场景

  • When you have accumulated many local branches that need tidying up
  • After merging feature branches, to clean up local tracking branches
  • When remote branches have been deleted, to manage remaining local tracking branches
  • To identify and remove groups of related branches that are no longer needed

非目标

  • Managing remote branches or repositories
  • Performing automatic or proactive cleanup
  • Remote repository maintenance tasks like `git gc` or `prune`
  • Headless or non-interactive automation

Trust

  • warning:Issues AttentionIn the last 90 days, 13 issues were opened and 4 were closed, indicating a low closure rate (approx. 31%) and potentially slow maintainer response.

安装

请先添加 Marketplace

/plugin marketplace add trailofbits/skills
/plugin install git-cleanup@trailofbits

质量评分

76 /100
1 day ago 分析

信任信号

最近提交3 days ago
星标5.2k
许可证CC-BY-SA-4.0
状态
查看源代码