Skip to main content

worktree-merge

星标9
分支0
更新时间2026年6月24日 21:16

Fold ONE worktree's branch INTO another branch using git merge. Use when combining a worktree branch into a parent, batching small fixes into one branch before opening a single PR, or folding sub-feature branches back together. Triggers on "merge this worktree into X", "fold sub-branches back", "combine worktree branches", "merge feat/X into main locally". Always a real `git merge`, defaults to `--no-ff`. For pushing to remote, use `worktree-close --push` instead. For batch teardown of stale worktrees, use worktree-cleanup. Also triggers for `/empire-git:worktree-merge [branch] --into <target> [--no-close] [--ff]`.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly