summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorThomas Gummerer <t.gummerer@gmail.com>2016-01-18 23:20:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-01-19 18:07:55 (GMT)
commit40a88529080295dd9a4218e1a72d1e8143ee4f7b (patch)
treed51e6b7d22cd1c6337af874f3e7aa28a70c3e969 /Documentation
parent54813bdd2ca9172fa21b1535ce0d566efd69c496 (diff)
downloadgit-40a88529080295dd9a4218e1a72d1e8143ee4f7b.zip
git-40a88529080295dd9a4218e1a72d1e8143ee4f7b.tar.gz
git-40a88529080295dd9a4218e1a72d1e8143ee4f7b.tar.bz2
ls-remote: document --refs option
The --refs option was originally introduced in 2718ff0 ("Improve git-peek-remote"). The ls-remote command was first documented in 972b6fe ("ls-remote: drop storing operation and add documentation."), but the --refs option was never documented. Fix this. Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-ls-remote.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-ls-remote.txt b/Documentation/git-ls-remote.txt
index 27380de..7467162 100644
--- a/Documentation/git-ls-remote.txt
+++ b/Documentation/git-ls-remote.txt
@@ -9,7 +9,7 @@ git-ls-remote - List references in a remote repository
SYNOPSIS
--------
[verse]
-'git ls-remote' [--heads] [--tags] [--upload-pack=<exec>]
+'git ls-remote' [--heads] [--tags] [--refs] [--upload-pack=<exec>]
[-q | --quiet] [--exit-code] <repository> [<refs>...]
DESCRIPTION
@@ -29,6 +29,9 @@ OPTIONS
both, references stored in refs/heads and refs/tags are
displayed.
+--refs::
+ Do not show peeled tags or pseudorefs like HEAD in the output.
+
-q::
--quiet::
Do not print remote URL to stderr.