From: Junio C Hamano Date: Sun, 17 Dec 2006 19:32:07 +0000 (+0000) Subject: Autogenerated man pages for v1.4.4.2-gee60 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=53940e01cf0791359516a451cc0d7853167bcb77;p=git.git Autogenerated man pages for v1.4.4.2-gee60 --- diff --git a/man1/git-clone.1 b/man1/git-clone.1 index 0f226a0b4..855d463ad 100644 --- a/man1/git-clone.1 +++ b/man1/git-clone.1 @@ -2,7 +2,7 @@ .\" 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\-CLONE" "1" "12/08/2006" "" "" +.TH "GIT\-CLONE" "1" "12/17/2006" "" "" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) @@ -19,11 +19,10 @@ git\-clone \- Clones a repository .fi .SH "DESCRIPTION" Clones a repository into a newly created directory, creates remote\-tracking branches for each branch in the cloned repository (visible using git branch \-r), and creates and checks out a master branch equal to the cloned repository's master branch. -.sp + After the clone, a plain git fetch without arguments will update all the remote\-tracking branches, and a git pull without arguments will in addition merge the remote master branch into the current branch. -.sp + This default configuration is achieved by creating references to the remote branch heads under $GIT_DIR/refs/remotes/origin and by initializing remote.origin.url and remote.origin.fetch configuration variables. -.sp .SH "OPTIONS" .TP \-\-local , \-l @@ -42,47 +41,19 @@ Operate quietly. This flag is passed to "rsync" and "git\-fetch\-pack" commands No checkout of HEAD is performed after the clone is complete. .TP \-\-bare -Make a -\fIbare\fR -GIT repository. That is, instead of creating - -and placing the administrative files in -/.git, make the - -itself the -$GIT_DIR. This obviously implies the -\-n -because there is nowhere to check out the working tree. Also the branch heads at the remote are copied directly to corresponding local branch heads, without mapping them to -refs/remotes/origin/. When this option is used, neither the -origin -branch nor the default -remotes/origin -file is created. +Make a \fIbare\fR GIT repository. That is, instead of creating and placing the administrative files in /.git, make the itself the $GIT_DIR. This obviously implies the \-n because there is nowhere to check out the working tree. Also the branch heads at the remote are copied directly to corresponding local branch heads, without mapping them to refs/remotes/origin/. When this option is used, neither the origin branch nor the default remotes/origin file is created. .TP \-\-origin , \-o -Instead of using the branch name -\fIorigin\fR -to keep track of the upstream repository, use instead. Note that the shorthand name stored in -remotes/origin -is not affected, but the local branch name to pull the remote -master -branch into is. +Instead of using the branch name \fIorigin\fR to keep track of the upstream repository, use instead. Note that the shorthand name stored in remotes/origin is not affected, but the local branch name to pull the remote master branch into is. .TP \-\-upload\-pack , \-u -When given, and the repository to clone from is handled by -\fIgit\-fetch\-pack\fR, -\fI\-\-exec=\fR -is passed to the command to specify non\-default path for the command run on the other end. +When given, and the repository to clone from is handled by \fIgit\-fetch\-pack\fR, \fI\-\-exec=\fR is passed to the command to specify non\-default path for the command run on the other end. .TP \-\-template= -Specify the directory from which templates will be used; if unset the templates are taken from the installation defined default, typically -/usr/share/git\-core/templates. +Specify the directory from which templates will be used; if unset the templates are taken from the installation defined default, typically /usr/share/git\-core/templates. .TP \-\-use\-separate\-remote -Save remotes heads under -$GIT_DIR/remotes/origin/ -instead of -$GIT_DIR/refs/heads/. Only the local master branch is saved in the latter. This is the default. +Save remotes heads under $GIT_DIR/refs/remotes/origin/ instead of $GIT_DIR/refs/heads/. Only the local master branch is saved in the latter. This is the default. .TP \-\-no\-separate\-remote Save remotes heads in the same namespace as the local heads, `$GIT_DIR/refs/heads/'. In regular repositories, this is a legacy setup git\-clone created by default in older Git versions, and will be removed before the next major release. @@ -133,10 +104,8 @@ $ git clone \-\-bare \-l \-s /pub/scm/.../torvalds/linux\-2.6.git \\ .fi .SH "AUTHOR" Written by Linus Torvalds -.sp .SH "DOCUMENTATION" Documentation by Junio C Hamano and the git\-list . -.sp .SH "GIT" Part of the \fBgit\fR(7) suite -.sp + diff --git a/man1/git-merge-file.1 b/man1/git-merge-file.1 new file mode 100644 index 000000000..8e4ad9de2 --- /dev/null +++ b/man1/git-merge-file.1 @@ -0,0 +1,58 @@ +.\" ** 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" "12/17/2006" "" "" +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.SH "NAME" +git\-merge\-file \- 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