Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Svn-to-Git
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王进波
Svn-to-Git
Commits
a8b07d68
Commit
a8b07d68
authored
Aug 30, 2018
by
王进波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
7178208c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
使用Vimdiff解决git冲突.md
doc/使用Vimdiff解决git冲突.md
+1
-1
No files found.
doc/使用Vimdiff解决git冲突.md
View file @
a8b07d68
...
@@ -84,7 +84,7 @@ git mergetool
...
@@ -84,7 +84,7 @@ git mergetool
`LOCAL`
- 这个文件来自当前分支;
`BASE`
- 两个分支的共同祖先,在两个分支上的文件改变之前的样子;
`REMOTE`
- 要合并到你当前分支的外部分支上的文件;
`MERGED`
- 合并结果,将会保存到本地
`repo`
中。
`LOCAL`
- 这个文件来自当前分支;
`BASE`
- 两个分支的共同祖先,在两个分支上的文件改变之前的样子;
`REMOTE`
- 要合并到你当前分支的外部分支上的文件;
`MERGED`
- 合并结果,将会保存到本地
`repo`
中。
我们
假设我们希望保留
`octodog`
的变化(来自REMOTE)。为此,移动到
`MERGED`
文件上(Ctrl + w, j),移动光标到一个合并冲突的区域,然后:
假设我们希望保留
`octodog`
的变化(来自REMOTE)。为此,移动到
`MERGED`
文件上(Ctrl + w, j),移动光标到一个合并冲突的区域,然后:
```
```
:diffget RE
:diffget RE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment