summaryrefslogtreecommitdiffstats
path: root/git-symbolic-ref.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-11-15 13:12:29 -0800
committerJunio C Hamano <gitster@pobox.com>2012-11-15 13:12:29 -0800
commit4eb2b9c1b93402514bbab7ad58ab8181526cd874 (patch)
tree75bbeb0edef3384164208c2373f0d1b406c6351a /git-symbolic-ref.html
parenta129545d44f1f0fe9976ed87b9a7331bf239b7d8 (diff)
downloadgit-htmldocs-4eb2b9c1b93402514bbab7ad58ab8181526cd874.tar.gz
Autogenerated HTML docs for v1.8.0-197-g5a907
Diffstat (limited to 'git-symbolic-ref.html')
-rw-r--r--git-symbolic-ref.html20
1 files changed, 17 insertions, 3 deletions
diff --git a/git-symbolic-ref.html b/git-symbolic-ref.html
index 1531d4c34..6dd8e6223 100644
--- a/git-symbolic-ref.html
+++ b/git-symbolic-ref.html
@@ -575,7 +575,7 @@ git-symbolic-ref(1) Manual Page
<h2>NAME</h2>
<div class="sectionbody">
<p>git-symbolic-ref -
- Read and modify symbolic refs
+ Read, modify and delete symbolic refs
</p>
</div>
</div>
@@ -584,7 +584,8 @@ git-symbolic-ref(1) Manual Page
<div class="sectionbody">
<div class="verseblock">
<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>
+<em>git symbolic-ref</em> [-q] [--short] &lt;name&gt;
+<em>git symbolic-ref</em> --delete [-q] &lt;name&gt;</div>
<div class="verseblock-attribution">
</div></div>
</div>
@@ -596,6 +597,8 @@ directory. Typically you would give <tt>HEAD</tt> as the &lt;name&gt;
argument to see which branch your working tree is on.</p></div>
<div class="paragraph"><p>Given two arguments, creates or updates a symbolic ref &lt;name&gt; to
point at the given branch &lt;ref&gt;.</p></div>
+<div class="paragraph"><p>Given <tt>--delete</tt> and an additional argument, deletes the given
+symbolic ref.</p></div>
<div class="paragraph"><p>A symbolic ref is a regular file that stores a string that
begins with <tt>ref: refs/</tt>. For example, your <tt>.git/HEAD</tt> is
a regular file whose contents is <tt>ref: refs/heads/master</tt>.</p></div>
@@ -604,6 +607,17 @@ a regular file whose contents is <tt>ref: refs/heads/master</tt>.</p></div>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
+-d
+</dt>
+<dt class="hdlist1">
+--delete
+</dt>
+<dd>
+<p>
+ Delete the symbolic ref &lt;name&gt;.
+</p>
+</dd>
+<dt class="hdlist1">
-q
</dt>
<dt class="hdlist1">
@@ -657,7 +671,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 2012-03-04 23:48:43 PDT
+Last updated 2012-11-15 13:11:54 PDT
</div>
</div>
</body>