.\" ** You probably do not want to edit this file directly ** .\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). .\" Instead of manually editing it, you probably should edit the DocBook XML .\" source for it and then use the DocBook XSL Stylesheets to regenerate it. .TH "GIT\-MERGE\-FILE" "1" "09/19/2007" "Git 1.5.3.2" "Git Manual" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .SH "NAME" git\-merge\-file \- Run a three\-way file merge .SH "SYNOPSIS" .sp .nf \fIgit\-merge\-file\fR [\-L [\-L [\-L ]]] [\-p|\-\-stdout] [\-q|\-\-quiet] .fi .SH "DESCRIPTION" git\-file\-merge incorporates all changes that lead from the to into . The result ordinarily goes into . git\-merge\-file is useful for combining separate changes to an original. Suppose is the original, and both and are modifications of . Then git\-merge\-file combines both changes. A conflict occurs if both and have changes in a common segment of lines. If a conflict is found, git\-merge\-file normally outputs a warning and brackets the conflict with <<<<<<< and >>>>>>> lines. A typical conflict will look like this: .sp .nf <<<<<<< A lines in file A ======= lines in file B >>>>>>> B .fi If there are conflicts, the user should edit the result and delete one of the alternatives. The exit value of this program is negative on error, and the number of conflicts otherwise. If the merge was clean, the exit value is 0. git\-merge\-file is designed to be a minimal clone of RCS merge, that is, it implements all of RCS merge's functionality which is needed by \fBgit\fR(1). .SH "OPTIONS" .TP \-L