7 git-clone-pack - Clones a repository by receiving packed objects.
12 'git-clone-pack' [-q] [--exec=<git-upload-pack>] [<host>:]<directory> [<head>...]
16 Clones a repository into the current repository by invoking
17 'git-upload-pack', possibly on the remote host via ssh, in
18 the named repository, and invoking 'git-unpack-objects' locally
24 Pass '-q' flag to 'git-unpack-objects'; this makes the
25 cloning process less verbose.
27 --exec=<git-upload-pack>::
28 Use this to specify the path to 'git-upload-pack' on the
29 remote side, if it is not found on your $PATH.
30 Installations of sshd ignore the user's environment
31 setup scripts for login shells (e.g. .bash_profile) and
32 your privately installed GIT may not be found on the system
33 default $PATH. Another workaround suggested is to set
34 up your $PATH in ".bashrc", but this flag is for people
35 who do not want to pay the overhead for non-interactive
36 shells by having a lean .bashrc file (they set most of
37 the things up in .bash_profile).
40 A remote host that houses the repository. When this
41 part is specified, 'git-upload-pack' is invoked via
45 The repository to sync from.
48 The heads to update. This is relative to $GIT_DIR
49 (e.g. "HEAD", "refs/heads/master"). When unspecified,
50 all heads are updated to match the remote repository.
55 Written by Linus Torvalds <torvalds@osdl.org>
59 Documentation by Junio C Hamano.
64 Part of the gitlink:git[7] suite