将落后的会话分支变基到最新上游,并在冲突中保留上游改动。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "sync-upstream" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/vscode/main/src/vs/sessions/skills/sync-upstream/SKILL.md 2. 保存为 ~/.claude/skills/sync-upstream/SKILL.md 3. 装好后重载技能,告诉我可以用了
请将当前会话分支变基到最新 origin/main。若出现冲突,优先保留上游改动,再调整我的提交使其兼容,并总结所有处理过的冲突。
完成变基后的分支状态、冲突解决说明,以及需要我复查的风险点。
上游最近合入了大量改动,请把我的发布分支同步到最新 origin,使用 rebase 方式处理,并确保现有功能逻辑按上游新结构适配。
一个追平上游的发布分支,以及对受影响文件和适配结果的简要说明。
当前分支与上游差异很大。请变基到最新上游,遇到冲突时以 upstream 为准,尽量最小化修改我的工作内容,并列出哪些提交被重写或调整。
一次以上游为准的变基结果,附带提交调整清单和后续检查建议。
Rebase the current session branch onto the latest upstream so the work stays grounded in origin.
/commit skill to commit them first.git fetch origin
git rebase origin/main
Use the appropriate base branch if it is not main.When conflicts arise, upstream always wins:
git add the files and git rebase --continue.After the rebase completes, verify the result still compiles and meets the session's objectives. If session changes no longer make sense against the updated upstream, explain what changed and propose a revised approach.
帮助开发者验证 Azure DevOps 流水线改动,快速排查构建与 YAML 配置问题。
帮助用户把当前会话中的新代码变更更新到已有拉取请求中