X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-clone.txt;h=f23100e5094a891a0b6205badc0516fedfc74664;hb=5b590d783a461c63fa803d1c21b57bc79c0207f7;hp=88ea272ee5a1994edfbc93347d5841228de46f17;hpb=433233e0b60e55e1afcded413e78c85fde4db722;p=git.git diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index 88ea272ee..f23100e50 100644 --- a/Documentation/git-clone.txt +++ b/Documentation/git-clone.txt @@ -84,7 +84,7 @@ its source repository, you can simply run `git repack -a` to copy all objects from the source repository into a pack in the cloned repository. --reference :: - If the reference repository is on the local machine + If the reference repository is on the local machine, automatically setup .git/objects/info/alternates to obtain objects from the reference repository. Using an already existing repository as an alternate will @@ -127,6 +127,13 @@ objects from the source repository into a pack in the cloned repository. Instead of using the remote name 'origin' to keep track of the upstream repository, use . +--branch :: +-b :: + Instead of pointing the newly created HEAD to the branch pointed + to by the cloned repositoroy's HEAD, point to branch + instead. In a non-bare repository, this is the branch that will + be checked out. + --upload-pack :: -u :: When given, and the repository to clone from is accessed