docs(note): 补充 git merge --abort 取消合并命令
This commit is contained in:
parent
f7f5d379a9
commit
e00245ea66
@ -35,11 +35,12 @@
|
||||
|
||||
#### 四、合并与变基
|
||||
|
||||
| 操作 | 命令 | 说明 |
|
||||
| -------------- | ------------------------------------ | ------------------------- |
|
||||
| 合并分支 | `git merge feature/xxx` | 把目标分支合并进当前分支 |
|
||||
| 变基(rebase) | `git rebase dev` | 让你的提交在最新 `dev` 上 |
|
||||
| 解决冲突后继续 | `git add . && git rebase --continue` | 继续变基或合并流程 |
|
||||
| 操作 | 命令 | 说明 |
|
||||
| -------------- | ------------------------------------ | ------------------------------- |
|
||||
| 合并分支 | `git merge feature/xxx` | 把目标分支合并进当前分支 |
|
||||
| 取消合并 | `git merge --abort` | 终止合并,直接回退到合并前的状态 |
|
||||
| 变基(rebase) | `git rebase dev` | 让你的提交在最新 `dev` 上 |
|
||||
| 解决冲突后继续 | `git add . && git rebase --continue` | 继续变基或合并流程 |
|
||||
|
||||
#### 五、查看状态和差异
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user