File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ git-apply - Apply a patch to files and/or to the index
99SYNOPSIS
1010--------
1111[verse]
12- 'git apply' [--stat] [--numstat] [--summary] [--check] [--index]
12+ 'git apply' [--stat] [--numstat] [--summary] [--check] [--index] [--3way]
1313 [--apply] [--no-add] [--build-fake-ancestor=<file>] [-R | --reverse]
1414 [--allow-binary-replacement | --binary] [--reject] [-z]
1515 [-p<n>] [-C<n>] [--inaccurate-eof] [--recount] [--cached]
@@ -72,6 +72,15 @@ OPTIONS
7272 cached data, apply the patch, and store the result in the index
7373 without using the working tree. This implies `--index`.
7474
75+ -3::
76+ --3way::
77+ When the patch does not apply cleanly, fall back on 3-way merge if
78+ the patch records the identity of blobs it is supposed to apply to,
79+ and we have those blobs available locally, possibly leaving the
80+ conflict markers in the files in the working tree for the user to
81+ resolve. This option implies the `--index` option, and is incompatible
82+ with the `--reject` and the `--cached` options.
83+
7584--build-fake-ancestor=<file>::
7685 Newer 'git diff' output has embedded 'index information'
7786 for each blob to help identify the original version that
You can’t perform that action at this time.
0 commit comments