Make Clean
Two-command git workspace lifecycle manager: purge merged branches/worktrees/stashes, aggregate remaining in-flight work into one branch, then hand off to make build.
/make-clean
gitworkflow cleanupbranchesworktrees
Outputs
| Name | Type | Description |
|---|---|---|
cleanup_summary | string | Branches deleted, stashes dropped, aggregate branch created. |
Side effects
- deletes git branches
- removes worktrees
- drops stashes
- creates aggregate branch
System prompt fragment
Run the full make clean pipeline: (1) inventory all branches, worktrees, stashes; (2) delete merged branches and their worktrees (no prompt); (3) drop merged stashes; (4) aggregate in-flight branches into aggregate/
Attribution: convergent-systems-key. License: Apache-2.0 or as stated by the originating repository.