docs(fork): P0b 默认继承 WIP, 加 --clean 显式跳过#251
Merged
Merged
Conversation
- 场景 A fork 默认带过父话题的 staged/unstaged/untracked (用 git stash create -u 生成 stash object,父工作树完全不动) - /fork --clean 显式从干净 HEAD 起步 - 关键决策表 + 失败回滚表同步更新 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Contributor
|
Claude finished @lishuceo's task in 47s —— View job ✅ Approved — 文档变更合理Review checklist
分析这是纯文档改动( 技术准确性
一处可以更准确的小点(低优先级,不阻塞合入) 第 114 行:
更直接的方式是 意图与一致性
评价文档质量高,关键决策有「为什么」、有「副作用」、有「opt-out」。可以合入。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
git stash create -u拿到 stash commit object 后到子 worktree 上 apply — 父工作树完全不被动动机
姜黎反馈:绝大多数 fork 场景是「当前进行中的工作上分两条路试」,带 WIP 才符合直觉。原方案默认 stash 后干净起点违反 fork 本意。
Test plan