Claude4.5 免费版(网页): ```sh # 对于文件 a 和 b ,使用 master 的版本 git checkout --ours a git checkout --ours b
# 标记冲突已解决 git add a b
# 继续 rebase git rebase --continue ```
ChatGPT 免费版(网页): ```sh # 对文件 a 使用 master (即目标分支)的版本 git checkout --theirs -- a
# 对文件 b 使用 master (即目标分支)的版本 git checkout --theirs -- b
# 标记解决冲突 git add a b
# 继续 rebase git rebase --continue
```
ChatGPT Plus(网页 Thinking 模式): ```sh # 处于 rebase 冲突状态时: git checkout --theirs -- a b # 选用“theirs”,在 rebase 中指的是 master 的版本 git add a b # 标记冲突已解决 git rebase --continue