@matheusbsbs / matheus-bagliano / commits / 0dde68998c
Fork 0

git-ls-remote(1): document --upload-pack

... and mention that '.' will list the local repo references. Signed-off-by: Jonas Fonseca <fonseca@diku.dk> Signed-off-by: Junio C Hamano <junkio@cox.net>

Jonas Fonseca committed Aug 25, 2006 at 02:58 UTC 0dde68998c18064565e8a64181a9742301b6bd05
1 file changed +14 -4
Documentation/git-ls-remote.txt
+14 -4
@@ -3,16 +3,19 @@ git-ls-remote(1)
3
4 NAME
5 ----
6 -git-ls-remote - Look at references other repository has
6 +git-ls-remote - List references in a remote repository
7
8
9 SYNOPSIS
10 --------
11 -'git-ls-remote' [--heads] [--tags] <repository> <refs>...
11 +[verse]
12 +'git-ls-remote' [--heads] [--tags] [-u <exec> | --upload-pack <exec>]
13 + <repository> <refs>...
14
15 DESCRIPTION
16 -----------
15 -Displays the references other repository has.
17 +Displays references available in a remote repository along with the associated
18 +commit IDs.
19
20
21 OPTIONS
@@ -23,9 +26,16 @@ OPTIONS
26 both, references stored in refs/heads and refs/tags are
27 displayed.
28
29 +-u <exec>, --upload-pack=<exec>::
30 + Specify the full path of gitlink:git-upload-pack[1] on the remote
31 + host. This allows listing references from repositories accessed via
32 + SSH and where the SSH deamon does not use the PATH configured by the
33 + user. Also see the '--exec' option for gitlink:git-peek-remote[1].
34 +
35 <repository>::
36 Location of the repository. The shorthand defined in
28 - $GIT_DIR/branches/ can be used.
37 + $GIT_DIR/branches/ can be used. Use "." (dot) to list references in
38 + the local repository.
39
40 <refs>...::
41 When unspecified, all references, after filtering done