Skip to main content

clean-branches

Clean local Git branches and prune remote-tracking references. Use when asked to remove merged or stale local branches while preserving the current branch and main.

Source facts

Repository
dyoshikawa/ghactivities
Last source activity
July 23, 2026 at 07:04
Detected SKILL.md language
English
Stars
2
Forks
1

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
clean-branches
description
Clean local Git branches and prune remote-tracking references. Use when asked to remove merged or stale local branches while preserving the current branch and main.
targets
["*"]
1. Inspect the current branch and local branches. 2. Delete all local branches except the current branch and `main`. 3. Run `git pull --prune`. 4. Report deleted and preserved branches.
View on GitHub