1git-clone-pack(1) 2================= 3v0.1, July 2005 4 5NAME 6---- 7git-clone-pack - Clones a repository by receiving packed objects. 8 9 10SYNOPSIS 11-------- 12'git-clone-pack' [-q] [--exec=<git-upload-pack>] [<host>:]<directory> [<heads>...] 13 14DESCRIPTION 15----------- 16Clones a repository into the current repository by invoking 17'git-upload-pack', possibly on the remote host via ssh, in 18the named repository, and invoking 'git-unpack-objects' locally 19to receive the pack. 20 21OPTIONS 22------- 23-q:: 24 Pass '-q' flag to 'git-unpack-objects'; this makes the 25 cloning process less verbose. 26 27--exec=<git-upload-pack>:: 28 Use this to specify the path to 'git-upload-pack' on the 29 remote side, if is not found on your $PATH. 30 Installations of sshd ignores 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). 38 39[<host>:]<directory:: 40 The (possibly remote) repository to clone from. 41 42<heads>...:: 43 The heads to update. This is relative to $GIT_DIR 44 (e.g. "HEAD", "refs/heads/master"). When unspecified, 45 all heads are updated to match the remote repository. 46 47 48Author 49------ 50Written by Linus Torvalds <torvalds@osdl.org> 51 52Documentation 53-------------- 54Documentation by Junio C Hamano. 55 56 57GIT 58--- 59Part of the link:git.html[git] suite 60