make "git var" a built-in
[git/dscho.git] / Documentation / git-peek-remote.txt
blob87dacd797f6e36d47024bc0d2ebc82bb0b5bb387
1 git-peek-remote(1)
2 ==================
4 NAME
5 ----
6 git-peek-remote - List the references in a remote repository
9 SYNOPSIS
10 --------
11 'git peek-remote' [--upload-pack=<git-upload-pack>] [<host>:]<directory>
13 DESCRIPTION
14 -----------
15 This command is deprecated; use 'git ls-remote' instead.
17 OPTIONS
18 -------
19 --upload-pack=<git-upload-pack>::
20         Use this to specify the path to 'git-upload-pack' on the
21         remote side, if it is not found on your $PATH. Some
22         installations of sshd ignores the user's environment
23         setup scripts for login shells (e.g. .bash_profile) and
24         your privately installed git may not be found on the system
25         default $PATH.  Another workaround suggested is to set
26         up your $PATH in ".bashrc", but this flag is for people
27         who do not want to pay the overhead for non-interactive
28         shells, but prefer having a lean .bashrc file (they set most of
29         the things up in .bash_profile).
31 <host>::
32         A remote host that houses the repository.  When this
33         part is specified, 'git-upload-pack' is invoked via
34         ssh.
36 <directory>::
37         The repository to sync from.
40 Author
41 ------
42 Written by Junio C Hamano <gitster@pobox.com>
44 Documentation
45 --------------
46 Documentation by Junio C Hamano.
48 GIT
49 ---
50 Part of the linkgit:git[1] suite