Autogenerated man pages for v1.4.4.2-gdb98
authorJunio C Hamano <junio@hera.kernel.org>
Fri, 8 Dec 2006 07:23:51 +0000 (07:23 +0000)
committerJunio C Hamano <junio@hera.kernel.org>
Fri, 8 Dec 2006 07:23:51 +0000 (07:23 +0000)
man1/git-clone.1

index 1a18a0e6e71d39d5ede377de9ced2052619c210f..0f226a0b46d974bd8a1dbdb1b713233bffe391c8 100755 (executable)
@@ -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/05/2006" "" ""
+.TH "GIT\-CLONE" "1" "12/08/2006" "" ""
 .\" disable hyphenation
 .nh
 .\" disable justification (adjust text to left margin only)
@@ -18,15 +18,11 @@ git\-clone \- Clones a repository
           [<directory>]
 .fi
 .SH "DESCRIPTION"
-Clones a repository into a newly created directory. All remote branch heads are copied under $GIT_DIR/refs/heads/, except that the remote master is also copied to origin branch.
+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
-In addition, $GIT_DIR/remotes/origin file is set up to have this line:
+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
-.sp
-.nf
-Pull: master:origin
-.fi
-This is to help the typical workflow of working off of the remote master branch. Every time git pull without argument is run, the progress on the remote master branch is tracked by copying it into the local origin branch, and merged into the branch you are currently working on. Remote branches other than master are also added there to be tracked.
+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