Skip to content
Development
Command

/clean_gone

清理已從遠端刪除的本地分支

From plugin
claude-plugin-marketplace
2614 skills18 agents14 commands
Install
$ npx -y skills add DennisLiuCk/claude-plugin-marketplace --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/clean_gone

Context preview

What this command does when you run it.

清理已從遠端刪除的本地分支

Command definition

clean_gone.md
description: 清理已從遠端刪除的本地分支
allowedTools:
  - 'Bash(git fetch:*)'
  - 'Bash(git branch:*)'
  - 'Bash(git worktree:*)'

指示

清理所有標記為 "[gone]" 的本地分支(即已從遠端刪除的分支)。

**步驟**: 1. 執行 `git fetch --prune` 來更新遠端分支資訊 2. 列出所有標記為 "[gone]" 的分支 3. 刪除這些分支及其相關的工作樹(如果有)

**重要提示**:

  • 在刪除前確認分支確實已從遠端刪除
  • 小心處理有未提交變更的分支
  • 提供已刪除分支的清單
Ships withclaude-plugin-marketplace

專為繁體中文使用者設計的 Claude Code 插件集合,提供開發、生產力、安全與學習等工具。

Get the whole plugin, auto-invoked
Stats
26
Stars
1
Views
5
Forks
Maintained
Maintenance
Python
Language
5mo ago
Last commit
8mo ago
Created

Repo: DennisLiuCk/claude-plugin-marketplace