diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2008-07-02 03:06:38 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2008-07-02 03:06:38 +0000 |
commit | fce7c7e1549d1a2a2b0faf5952378236eed4d468 (patch) | |
tree | ffce2ae419b52786a0e567f4fddaadd89016f62c /git-show-ref.html | |
parent | bb8e996adf4293a0b624fe77e95e12ae8d1faed9 (diff) | |
download | git-htmldocs-fce7c7e1549d1a2a2b0faf5952378236eed4d468.tar.gz |
Autogenerated HTML docs for v1.5.6.1-156-ge903b
Diffstat (limited to 'git-show-ref.html')
-rw-r--r-- | git-show-ref.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/git-show-ref.html b/git-show-ref.html index 5c3f663c4..dffd3eded 100644 --- a/git-show-ref.html +++ b/git-show-ref.html @@ -273,9 +273,9 @@ git-show-ref(1) Manual Page <h2>SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<div class="content"><em>git-show-ref</em> [-q|--quiet] [--verify] [-h|--head] [-d|--dereference]
+<div class="content"><em>git show-ref</em> [-q|--quiet] [--verify] [-h|--head] [-d|--dereference]
[-s|--hash] [--abbrev] [--tags] [--heads] [--] <pattern>…
-<em>git-show-ref</em> --exclude-existing[=pattern]</div></div>
+<em>git show-ref</em> --exclude-existing[=pattern]</div></div>
</div>
<h2>DESCRIPTION</h2>
<div class="sectionbody">
@@ -381,7 +381,7 @@ in the <tt>.git</tt> directory.</p> </dt>
<dd>
<p>
- Make git-show-ref act as a filter that reads refs from stdin of the
+ Make <tt>git-show-ref</tt> act as a filter that reads refs from stdin of the
form "<sup>(?:<anything>\s)?<refname>(?:\</sup>{})?$" and performs the
following actions on each:
(1) strip "^{}" at the end of line if any;
@@ -443,13 +443,13 @@ if such references exists.</p> <pre><tt> git show-ref --verify refs/heads/master</tt></pre>
</div></div>
<p>will only match the exact branch called "master".</p>
-<p>If nothing matches, <a href="git-show-ref.html">git-show-ref(1)</a> will return an error code of 1,
+<p>If nothing matches, <tt>git-show-ref</tt> will return an error code of 1,
and in the case of verification, it will show an error message.</p>
<p>For scripting, you can ask it to be quiet with the "--quiet" flag, which
allows you to do things like</p>
<div class="listingblock">
<div class="content">
-<pre><tt> git-show-ref --quiet --verify -- "refs/heads/$headname" ||
+<pre><tt> git show-ref --quiet --verify -- "refs/heads/$headname" ||
echo "$headname is not a valid branch"</tt></pre>
</div></div>
<p>to check whether a particular branch exists or not (notice how we don't
@@ -481,7 +481,7 @@ Man page by Jonas Fonseca <fonseca@diku.dk>.</p> </div>
<div id="footer">
<div id="footer-text">
-Last updated 08-Jun-2008 22:47:01 UTC
+Last updated 02-Jul-2008 03:02:03 UTC
</div>
</div>
</body>
|