Documentation: update git-clone.txt for clone's new default behavior

Fix a couple remaining references to the origin branch.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
J. Bruce Fields
2006-12-31 18:47:34 -05:00
committed by Junio C Hamano
parent c04197ee1e
commit 36566cc0bc

View File

@ -75,16 +75,13 @@ OPTIONS
Also the branch heads at the remote are copied directly Also the branch heads at the remote are copied directly
to corresponding local branch heads, without mapping to corresponding local branch heads, without mapping
them to `refs/remotes/origin/`. When this option is them to `refs/remotes/origin/`. When this option is
used, neither the `origin` branch nor the default used, neither remote-tracking branches nor the related
`remotes/origin` file is created. configuration variables are created.
--origin <name>:: --origin <name>::
-o <name>:: -o <name>::
Instead of using the branch name 'origin' to keep track Instead of using the remote name 'origin' to keep track
of the upstream repository, use <name> instead. Note of the upstream repository, use <name> instead.
that the shorthand name stored in `remotes/origin` is
not affected, but the local branch name to pull the
remote `master` branch into is.
--upload-pack <upload-pack>:: --upload-pack <upload-pack>::
-u <upload-pack>:: -u <upload-pack>::