X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-clone.txt;h=f943f267da0356d6e129f10117fce16e19aba939;hb=e6c310fd0d7384973efc6b1d5999a5e8a5b2f3bd;hp=8410a6d3814b0daf463a052275466dfa63a820e9;hpb=356bece0a2725818191b12f6e991490d52baa1d1;p=git.git diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index 8410a6d3..f943f267 100644 --- a/Documentation/git-clone.txt +++ b/Documentation/git-clone.txt @@ -8,7 +8,7 @@ git-clone - Clones a repository. SYNOPSIS -------- -'git-clone' [-l [-s]] [-q] [-n] [-u ] [] +'git-clone' [-l [-s]] [-q] [-n] [-o ] [-u ] [] DESCRIPTION ----------- @@ -56,6 +56,13 @@ OPTIONS -n:: No checkout of HEAD is performed after the clone is complete. +-o :: + Instead of using the branch name 'origin' 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. + --upload-pack :: -u :: When given, and the repository to clone from is handled