Junio C Hamano | 508e67a | 2005-07-23 17:54:15 -0700 | [diff] [blame] | 1 | git-peek-remote(1) |
| 2 | ================== |
Junio C Hamano | 508e67a | 2005-07-23 17:54:15 -0700 | [diff] [blame] | 3 | |
| 4 | NAME |
| 5 | ---- |
Junio C Hamano | c3f0baa | 2007-01-18 15:53:37 -0800 | [diff] [blame] | 6 | git-peek-remote - List the references in a remote repository |
Junio C Hamano | 508e67a | 2005-07-23 17:54:15 -0700 | [diff] [blame] | 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Jonathan Nieder | b1889c3 | 2008-06-30 01:09:04 -0500 | [diff] [blame] | 11 | 'git peek-remote' [--upload-pack=<git-upload-pack>] [<host>:]<directory> |
Junio C Hamano | 508e67a | 2005-07-23 17:54:15 -0700 | [diff] [blame] | 12 | |
| 13 | DESCRIPTION |
| 14 | ----------- |
Thomas Rast | 0b444cd | 2010-01-10 00:33:00 +0100 | [diff] [blame] | 15 | This command is deprecated; use 'git ls-remote' instead. |
Junio C Hamano | 508e67a | 2005-07-23 17:54:15 -0700 | [diff] [blame] | 16 | |
| 17 | OPTIONS |
| 18 | ------- |
Stephan Beyer | 3240240 | 2008-06-08 03:36:09 +0200 | [diff] [blame] | 19 | --upload-pack=<git-upload-pack>:: |
Jonathan Nieder | ba020ef | 2008-07-03 00:41:41 -0500 | [diff] [blame] | 20 | Use this to specify the path to 'git-upload-pack' on the |
Johannes Schindelin | 2c6e477 | 2005-08-05 17:05:02 +0200 | [diff] [blame] | 21 | remote side, if it is not found on your $PATH. Some |
| 22 | installations of sshd ignores the user's environment |
Junio C Hamano | 508e67a | 2005-07-23 17:54:15 -0700 | [diff] [blame] | 23 | setup scripts for login shells (e.g. .bash_profile) and |
Christian Meder | 72e9340 | 2005-10-10 16:01:31 -0700 | [diff] [blame] | 24 | your privately installed git may not be found on the system |
Junio C Hamano | 508e67a | 2005-07-23 17:54:15 -0700 | [diff] [blame] | 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 |
Johannes Schindelin | 2c6e477 | 2005-08-05 17:05:02 +0200 | [diff] [blame] | 28 | shells, but prefer having a lean .bashrc file (they set most of |
Junio C Hamano | 508e67a | 2005-07-23 17:54:15 -0700 | [diff] [blame] | 29 | the things up in .bash_profile). |
| 30 | |
| 31 | <host>:: |
| 32 | A remote host that houses the repository. When this |
Jonathan Nieder | ba020ef | 2008-07-03 00:41:41 -0500 | [diff] [blame] | 33 | part is specified, 'git-upload-pack' is invoked via |
Junio C Hamano | 508e67a | 2005-07-23 17:54:15 -0700 | [diff] [blame] | 34 | ssh. |
| 35 | |
| 36 | <directory>:: |
| 37 | The repository to sync from. |
| 38 | |
| 39 | |
Junio C Hamano | 508e67a | 2005-07-23 17:54:15 -0700 | [diff] [blame] | 40 | GIT |
| 41 | --- |
Christian Couder | 9e1f0a8 | 2008-06-06 09:07:32 +0200 | [diff] [blame] | 42 | Part of the linkgit:git[1] suite |