docs: clarify main worktree sync commit rule
This commit is contained in:
@@ -4,7 +4,7 @@ UniDesk 是一个以主 server 为统一入口的分布式工作平台。本文
|
||||
|
||||
## P0: 主 worktree 同步提交第一原则
|
||||
|
||||
- P0: 发现固定主/目标 worktree 落后 remote 时,必须立刻先 `git stash push -u` 保存脏改(如有,含 untracked),再 `git pull --ff-only` 快进到最新 remote,然后 `git stash apply` 并按语义合并后继续;禁止用 reset、drop 或覆盖式 checkout 丢弃并行改动。
|
||||
- P0: 发现固定主/目标 worktree 落后 remote 时,必须立刻先 `git stash push -u` 保存脏改(如有,含 untracked),再 `git pull --ff-only` 快进到最新 remote,然后 `git stash apply` 并按语义合并;主工作区恢复出的并行改动必须先直接提交,再继续后续任务;禁止用 reset、drop 或覆盖式 checkout 丢弃并行改动。
|
||||
|
||||
## P0: backend-core 运行面冻结
|
||||
|
||||
|
||||
Reference in New Issue
Block a user