]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-ls-remote.txt
ls-remote: document --refs option
[thirdparty/git.git] / Documentation / git-ls-remote.txt
index 27380de2a5c4200d6e49e699e225bbd61b3f5415..7467162adce6e73c0770d096fbbc6ad0091a9167 100644 (file)
@@ -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.