Skip to content

Commit

Permalink
Documentation: update git-clone.txt for clone's new default behavior
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
J. Bruce Fields authored and Junio C Hamano committed Jan 1, 2007
1 parent c04197e commit 36566cc
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Documentation/git-clone.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,13 @@ OPTIONS
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.
used, neither remote-tracking branches nor the related
configuration variables are created.

--origin <name>::
-o <name>::
Instead of using the branch name 'origin' to keep track
of the upstream repository, use <name> 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 remote name 'origin' to keep track
of the upstream repository, use <name> instead.

--upload-pack <upload-pack>::
-u <upload-pack>::
Expand Down

0 comments on commit 36566cc

Please sign in to comment.