浏览代码

Add tips to resolve conflicts with vimdiff

DricomDragon 5 年之前
父节点
当前提交
ffbb7928cd
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. 17 0
      Guides/vim.md

+ 17 - 0
Guides/vim.md

@@ -52,3 +52,20 @@ __vimdiff__ basics
 
 
 `[c` previous
 `[c` previous
 
 
+### Resolving a conflict
+
+Three files : LOCAL | BASE | REMOTE
+
++--------------------------------+
+| LOCAL  |     BASE     | REMOTE |
++--------------------------------+
+|             MERGED             |
++--------------------------------+
+
+Three commands : `:diffget LO`, `:diffget BO`, `:diffget RE`
+
+### Unfold
+
+`zo`
+
+Useful to see more context.