安装
npx skills add https://github.com/everyinc/compound-engineering-plugin --skill ce-clean-gone-branches
- Clean Gone Branches
- Delete local branches whose remote tracking branch has been deleted, including any associated worktrees.
- Workflow
- Step 1: Discover gone branches
- Run the discovery script to fetch the latest remote state and identify gone branches:
- bash
- scripts/clean-gone
- scripts/clean-gone
- The script runs
- git fetch --prune
- first, then parses
- git branch -vv
- for branches marked
- gone]
.
If the script outputs
NONE
, report that no stale branches were found and stop.
Show more
← 返回排行榜