]>
Commit | Line | Data |
---|---|---|
508e67ab JH |
1 | git-peek-remote(1) |
2 | ================== | |
508e67ab JH |
3 | |
4 | NAME | |
5 | ---- | |
c3f0baac | 6 | git-peek-remote - List the references in a remote repository |
508e67ab JH |
7 | |
8 | ||
9 | SYNOPSIS | |
10 | -------- | |
11 | 'git-peek-remote' [--exec=<git-upload-pack>] [<host>:]<directory> | |
12 | ||
13 | DESCRIPTION | |
14 | ----------- | |
15 | Lists the references the remote repository has, and optionally | |
16 | stores them in the local repository under the same name. | |
17 | ||
18 | OPTIONS | |
19 | ------- | |
20 | --exec=<git-upload-pack>:: | |
21 | Use this to specify the path to 'git-upload-pack' on the | |
2c6e4771 JS |
22 | remote side, if it is not found on your $PATH. Some |
23 | installations of sshd ignores the user's environment | |
508e67ab | 24 | setup scripts for login shells (e.g. .bash_profile) and |
72e9340c | 25 | your privately installed git may not be found on the system |
508e67ab JH |
26 | default $PATH. Another workaround suggested is to set |
27 | up your $PATH in ".bashrc", but this flag is for people | |
28 | who do not want to pay the overhead for non-interactive | |
2c6e4771 | 29 | shells, but prefer having a lean .bashrc file (they set most of |
508e67ab JH |
30 | the things up in .bash_profile). |
31 | ||
32 | <host>:: | |
33 | A remote host that houses the repository. When this | |
34 | part is specified, 'git-upload-pack' is invoked via | |
35 | ssh. | |
36 | ||
37 | <directory>:: | |
38 | The repository to sync from. | |
39 | ||
40 | ||
41 | Author | |
42 | ------ | |
43 | Written by Junio C Hamano <junkio@cox.net> | |
44 | ||
45 | Documentation | |
46 | -------------- | |
47 | Documentation by Junio C Hamano. | |
48 | ||
49 | GIT | |
50 | --- | |
a7154e91 | 51 | Part of the gitlink:git[7] suite |
508e67ab | 52 |