Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1 | git-peek-remote(1) |
| 2 | ================== |
| 3 | |
| 4 | NAME |
| 5 | ---- |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 6 | git-peek-remote - List the references in a remote repository |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Junio C Hamano | 15567bc | 2011-07-23 00:51:59 | [diff] [blame] | 11 | [verse] |
Junio C Hamano | fce7c7e | 2008-07-02 03:06:38 | [diff] [blame] | 12 | 'git peek-remote' [--upload-pack=<git-upload-pack>] [<host>:]<directory> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 13 | |
| 14 | DESCRIPTION |
| 15 | ----------- |
Junio C Hamano | 1aa40d2 | 2010-01-21 17:46:43 | [diff] [blame] | 16 | This command is deprecated; use 'git ls-remote' instead. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 17 | |
| 18 | OPTIONS |
| 19 | ------- |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 20 | --upload-pack=<git-upload-pack>:: |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 21 | Use this to specify the path to 'git-upload-pack' on the |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 22 | remote side, if it is not found on your $PATH. Some |
| 23 | installations of sshd ignores the user's environment |
| 24 | setup scripts for login shells (e.g. .bash_profile) and |
| 25 | your privately installed git may not be found on the system |
| 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 |
| 29 | shells, but prefer having a lean .bashrc file (they set most of |
| 30 | the things up in .bash_profile). |
| 31 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 32 | <host>:: |
| 33 | A remote host that houses the repository. When this |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 34 | part is specified, 'git-upload-pack' is invoked via |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 35 | ssh. |
| 36 | |
| 37 | <directory>:: |
| 38 | The repository to sync from. |
| 39 | |
| 40 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 41 | GIT |
| 42 | --- |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 43 | Part of the linkgit:git[1] suite |