Convert usage of GIT and Git into git
[git.git] / Documentation / git-clone-pack.txt
1 git-clone-pack(1)
2 =================
3
4 NAME
5 ----
6 git-clone-pack - Clones a repository by receiving packed objects.
7
8
9 SYNOPSIS
10 --------
11 'git-clone-pack' [-q] [--exec=<git-upload-pack>] [<host>:]<directory> [<head>...]
12
13 DESCRIPTION
14 -----------
15 Clones a repository into the current repository by invoking
16 'git-upload-pack', possibly on the remote host via ssh, in
17 the named repository, and invoking 'git-unpack-objects' locally
18 to receive the pack.
19
20 OPTIONS
21 -------
22 -q::
23         Pass '-q' flag to 'git-unpack-objects'; this makes the
24         cloning process less verbose.
25
26 --exec=<git-upload-pack>::
27         Use this to specify the path to 'git-upload-pack' on the
28         remote side, if it is not found on your $PATH.
29         Installations of sshd ignore the user's environment
30         setup scripts for login shells (e.g. .bash_profile) and
31         your privately installed git may not be found on the system
32         default $PATH.  Another workaround suggested is to set
33         up your $PATH in ".bashrc", but this flag is for people
34         who do not want to pay the overhead for non-interactive
35         shells by having a lean .bashrc file (they set most of
36         the things up in .bash_profile).
37
38 <host>::
39         A remote host that houses the repository.  When this
40         part is specified, 'git-upload-pack' is invoked via
41         ssh.
42
43 <directory>::
44         The repository to sync from.
45
46 <head>...::
47         The heads to update.  This is relative to $GIT_DIR
48         (e.g. "HEAD", "refs/heads/master").  When unspecified,
49         all heads are updated to match the remote repository.
50
51
52 Author
53 ------
54 Written by Linus Torvalds <torvalds@osdl.org>
55
56 Documentation
57 --------------
58 Documentation by Junio C Hamano.
59
60
61 GIT
62 ---
63 Part of the gitlink:git[7] suite
64