Browse Source

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>
maint
J. Bruce Fields 18 years ago committed by Junio C Hamano
parent
commit
36566cc0bc
  1. 11
      Documentation/git-clone.txt

11
Documentation/git-clone.txt

@ -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>::

Loading…
Cancel
Save