summaryrefslogtreecommitdiffstats
path: root/git-show-ref.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-07-02 03:06:38 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-07-02 03:06:38 +0000
commitfce7c7e1549d1a2a2b0faf5952378236eed4d468 (patch)
treeffce2ae419b52786a0e567f4fddaadd89016f62c /git-show-ref.html
parentbb8e996adf4293a0b624fe77e95e12ae8d1faed9 (diff)
downloadgit-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.html12
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] [--] &lt;pattern&gt;&#8230;
-<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>(?:&lt;anything&gt;\s)?&lt;refname&gt;(?:\</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 &lt;fonseca@diku.dk&gt;.</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>