Skip to content
代码片段 群组 项目
未验证 提交 69513996 编辑于 作者: Amy Qualls's avatar Amy Qualls 提交者: GitLab
浏览文件

Replace old diagram with editable illustration

Larger file size, but we can edit this file in the future, and it
adds a version number to the file name!
上级 291b7fe9
No related branches found
No related tags found
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
......@@ -19,9 +19,11 @@ When you rebase:
1. Git imports all the commits submitted to your target branch after you initially created
your branch from it.
1. Git applies the commits from your branch on top of the imported commits:
1. Git applies the commits from your branch on top of the imported commits. In this example, after
a branch named `feature` is created (in orange), four commits from `main` (in purple) are
imported into the `feature` branch:
![Git rebase illustration](img/git_rebase_illustration.png)
![Git rebase illustration](img/rebase_v17_10.drawio.svg)
While most rebases are performed against `main`, you can rebase against any other
branch. You can also specify a different remote repository.
......
doc/topics/git/img/git_rebase_illustration.png

31.6 KB

此差异已折叠。
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册