X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-clone.txt;h=790b87b231d46d6e9de9d85024b25b49ee225488;hb=2ba53073f7c14cf45f220e59e4b54a4b657f7216;hp=ffa4fb0a03b54526743178e71b9956e50c8d298d;hpb=92e802c6ccb96d1b5e8561b0a136d43d82253293;p=git.git diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index ffa4fb0a..790b87b2 100644 --- a/Documentation/git-clone.txt +++ b/Documentation/git-clone.txt @@ -9,7 +9,7 @@ git-clone - Clones a repository. SYNOPSIS -------- [verse] -'git-clone' [-l [-s]] [-q] [-n] [-u ] +'git-clone' [-l [-s]] [-q] [-n] [-o ] [-u ] [] DESCRIPTION @@ -58,6 +58,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