git*: update outdated pages, fix English pages (#14149)

This commit is contained in:
Sebastiaan Speck
2024-10-13 10:26:47 +02:00
committed by GitHub
parent 896e024860
commit f21fa6a211
96 changed files with 302 additions and 302 deletions

View File

@@ -10,7 +10,7 @@
- 启动交互式的合并任务,允许对提交的内容进行重新排序、省略、合并或修改:
`git rebase -i {{目标分支或 commit 的 hash}}`
`git rebase {{-i|--interactive}} {{目标分支或 commit 的 hash}}`
- 处理完冲突文件后,继续执行合并任务:
@@ -30,8 +30,8 @@
- 启动交互式的合并任务,对最近提交的 5 个 commits 进行重新排序、省略、合并或修改:
`git rebase -i {{HEAD~5}}`
`git rebase {{-i|--interactive}} {{HEAD~5}}`
- 以当前分支优先的策略,自动处理分支间的冲突,执行合并:
`git rebase -X theirs {{分支名称}}`
`git rebase {{-X|--strategy-option}} theirs {{分支名称}}`