OSDN Git Service

Documentation/git-merge: explain --continue
authorMichael J Gruber <git@grubix.eu>
Mon, 21 Aug 2017 12:53:14 +0000 (14:53 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 Aug 2017 00:12:44 +0000 (17:12 -0700)
Currently, 'git merge --continue' is mentioned but not explained.

Explain it.

Signed-off-by: Michael J Gruber <git@grubix.eu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-merge.txt

index 04fdd8c..f90faf7 100644 (file)
@@ -280,7 +280,10 @@ After seeing a conflict, you can do two things:
 
  * Resolve the conflicts.  Git will mark the conflicts in
    the working tree.  Edit the files into shape and
-   'git add' them to the index.  Use 'git commit' to seal the deal.
+   'git add' them to the index.  Use 'git commit' or
+   'git merge --continue' to seal the deal. The latter command
+   checks whether there is a (interrupted) merge in progress
+   before calling 'git commit'.
 
 You can work through the conflict with a number of tools: