清理已從遠端刪除的本地分支
Removes local branches that have been deleted from the remote. Use this to clean up stale branches after team members delete remote branches.
/plugin marketplace add DennisLiuCk/claude-plugin-marketplace/plugin install commit-commands@claude-plugin-marketplace-zh-tw清理所有標記為 "[gone]" 的本地分支(即已從遠端刪除的分支)。
步驟:
git fetch --prune 來更新遠端分支資訊重要提示:
/clean_goneCleans up all git branches marked as [gone] (branches that have been deleted on the remote but still exist locally), including removing associated worktrees.
/clean_goneCleans up all git branches marked as [gone] (branches that have been deleted on the remote but still exist locally), including removing associated worktrees.