Skip to content

Commit 03bbcd8

Browse files
author
danc1ngSean
committed
更新文件 git-en.md
1 parent 3b91f60 commit 03bbcd8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Git/git-en.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,13 @@ This command shows no difference with the command `merge`.
44

55
We usually use `merge` to merge the code from one branch to `master`. like this:
66

7-
![](https://user-gold-cdn.xitu.io/2018/4/23/162f109db27be054?w=505&h=461&f=png&s=22796)
7+
![](https://user-gold-cdn.xitu.io/2018/4/23/162f109db27be054?w=505&h=461&f=png&s=22796)
8+
9+
After using `rebase`, the commits from `decelop` will be moved to the third `commit` of the `master` in order, as follows:
10+
11+
![](https://user-gold-cdn.xitu.io/2018/4/23/162f11cc2cb8b332?w=505&h=563&f=png&s=26514)
12+
13+
Compare with `merge`, the result of `rebase` is very clear with a single flow. But if there is any conflict, you'll be in troule to solving them. You have to solve them one by one , while you only need to solve them once if using `merge`.
14+
15+
16+

0 commit comments

Comments
 (0)