summaryrefslogtreecommitdiffstats
path: root/git-show-ref.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-07-06 18:05:38 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-07-06 18:05:38 +0000
commitccc4d37316e8b357ae23130491c5c8b255a4924b (patch)
treef704edddc8ac0c2abfa2e7130bd58e49278b2f57 /git-show-ref.txt
parent2c14c8da9de804b1589cebb871c40cbefb4cecf4 (diff)
downloadgit-htmldocs-ccc4d37316e8b357ae23130491c5c8b255a4924b.tar.gz
Autogenerated HTML docs for v1.6.3.3-412-gf581d
Diffstat (limited to 'git-show-ref.txt')
-rw-r--r--git-show-ref.txt15
1 files changed, 7 insertions, 8 deletions
diff --git a/git-show-ref.txt b/git-show-ref.txt
index 98e294aa8..f4429bdc6 100644
--- a/git-show-ref.txt
+++ b/git-show-ref.txt
@@ -9,8 +9,9 @@ SYNOPSIS
--------
[verse]
'git show-ref' [-q|--quiet] [--verify] [-h|--head] [-d|--dereference]
- [-s|--hash] [--abbrev] [--tags] [--heads] [--] <pattern>...
-'git show-ref' --exclude-existing[=pattern]
+ [-s|--hash[=<n>]] [--abbrev[=<n>]] [--tags]
+ [--heads] [--] <pattern>...
+'git show-ref' --exclude-existing[=<pattern>] < ref-list
DESCRIPTION
-----------
@@ -48,7 +49,7 @@ OPTIONS
appended.
-s::
---hash::
+--hash[=<n>]::
Only show the SHA1 hash, not the reference name. When combined with
--dereference the dereferenced tag will still be shown after the SHA1.
@@ -59,11 +60,10 @@ OPTIONS
Aside from returning an error code of 1, it will also print an error
message if '--quiet' was not specified.
---abbrev::
---abbrev=len::
+--abbrev[=<n>]::
Abbreviate the object name. When using `--hash`, you do
- not have to say `--hash --abbrev`; `--hash=len` would do.
+ not have to say `--hash --abbrev`; `--hash=n` would do.
-q::
--quiet::
@@ -71,8 +71,7 @@ OPTIONS
Do not print any results to stdout. When combined with '--verify' this
can be used to silently check if a reference exists.
---exclude-existing::
---exclude-existing=pattern::
+--exclude-existing[=<pattern>]::
Make 'git-show-ref' act as a filter that reads refs from stdin of the
form "^(?:<anything>\s)?<refname>(?:\^\{\})?$" and performs the