Skip to main content

untry

星标10
分支2
更新时间2026年5月15日 21:57

Reverse a `/try`: capture root's now-possibly-tweaked tested state and put it back into the worktree, restoring root's pre-`/try` edits if any were saved aside. After `/untry` the worktree holds the (possibly tweaked) tested state and root looks the way it did before `/try`, so `/commit` and `wtd` happen in the worktree as usual. TRIGGER when cwd is inside `*/worktrees/*` and the user invokes `/untry`, says "put it back", "move it back to the worktree", "done testing", or otherwise signals they want to undo a `/try`. SKIP when no `/try` is active for this worktree (no `try:wt-source:<name>` entry in `git stash list`), or when the worktree has unrelated uncommitted edits that would conflict with the tested state coming back.

安装

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

SKILL.md
readonly