diff options
author | Junio C Hamano <junkio@cox.net> | 2005-07-14 00:08:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-14 08:54:31 -0700 |
commit | 8b3d9dc0e21eb8c7d90173acb330932569e6f52c (patch) | |
tree | 6a377210cd97c2c231a51630a23859d984be5373 /Documentation/git-clone-pack.txt | |
parent | 5f40520f8c4ca24b29295a36c7a7b6059ad5a888 (diff) | |
download | git-8b3d9dc0e21eb8c7d90173acb330932569e6f52c.tar.gz git-8b3d9dc0e21eb8c7d90173acb330932569e6f52c.tar.xz |
[PATCH] Documentation: clone/fetch/upload.
This adds documentation for 'smarter pull' family of commands.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/git-clone-pack.txt')
-rw-r--r-- | Documentation/git-clone-pack.txt | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Documentation/git-clone-pack.txt b/Documentation/git-clone-pack.txt index 81c86e267..0dc89a907 100644 --- a/Documentation/git-clone-pack.txt +++ b/Documentation/git-clone-pack.txt @@ -9,7 +9,7 @@ git-clone-pack - Clones a repository by receiving packed objects. SYNOPSIS -------- -'git-clone-pack' [-q] [--exec=<git-upload-pack>] [<host>:]<directory> [<heads>...] +'git-clone-pack' [-q] [--exec=<git-upload-pack>] [<host>:]<directory> [<head>...] DESCRIPTION ----------- @@ -36,10 +36,15 @@ OPTIONS shells by having a lean .bashrc file (they set most of the things up in .bash_profile). -[<host>:]<directory:: - The (possibly remote) repository to clone from. +<host>:: + A remote host that houses the repository. When this + part is specified, 'git-upload-pack' is invoked via + ssh. -<heads>...:: +<directory>:: + The repository to sync from. + +<head>...:: The heads to update. This is relative to $GIT_DIR (e.g. "HEAD", "refs/heads/master"). When unspecified, all heads are updated to match the remote repository. |