summaryrefslogtreecommitdiffstats
path: root/git-symbolic-ref.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-03-04 23:49:11 -0800
committerJunio C Hamano <gitster@pobox.com>2012-03-04 23:49:11 -0800
commit3dd939208f938cce0aa75fcd87cdb23971f28bc0 (patch)
tree116009bedf76a4daf72bdd58029821ea25e52064 /git-symbolic-ref.html
parent81d540a73a86a44d48b7d05d8f0dd25964499181 (diff)
downloadgit-htmldocs-3dd939208f938cce0aa75fcd87cdb23971f28bc0.tar.gz
Autogenerated HTML docs for v1.7.9.2-384-g4a92a
Diffstat (limited to 'git-symbolic-ref.html')
-rw-r--r--git-symbolic-ref.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/git-symbolic-ref.html b/git-symbolic-ref.html
index be8253abf..1531d4c34 100644
--- a/git-symbolic-ref.html
+++ b/git-symbolic-ref.html
@@ -583,7 +583,8 @@ git-symbolic-ref(1) Manual Page
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<div class="verseblock-content"><em>git symbolic-ref</em> [-q] [-m &lt;reason&gt;] &lt;name&gt; [&lt;ref&gt;]</div>
+<div class="verseblock-content"><em>git symbolic-ref</em> [-m &lt;reason&gt;] &lt;name&gt; &lt;ref&gt;
+<em>git symbolic-ref</em> [-q] [--short] &lt;name&gt;</div>
<div class="verseblock-attribution">
</div></div>
</div>
@@ -616,6 +617,15 @@ a regular file whose contents is <tt>ref: refs/heads/master</tt>.</p></div>
</p>
</dd>
<dt class="hdlist1">
+--short
+</dt>
+<dd>
+<p>
+ When showing the value of &lt;name&gt; as a symbolic ref, try to shorten the
+ value, e.g. from <tt>refs/heads/master</tt> to <tt>master</tt>.
+</p>
+</dd>
+<dt class="hdlist1">
-m
</dt>
<dd>
@@ -647,7 +657,7 @@ name is not a symbolic ref, or 128 if another error occurs.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-12-09 15:40:58 PDT
+Last updated 2012-03-04 23:48:43 PDT
</div>
</div>
</body>