[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.148.117.167: ~ $
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="generator" content="AsciiDoc 8.6.8" />
<title>git-show-ref(1)</title>
<style type="text/css">
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */

/* Default font. */
body {
  font-family: Georgia,serif;
}

/* Title font. */
h1, h2, h3, h4, h5, h6,
div.title, caption.title,
thead, p.table.header,
#toctitle,
#author, #revnumber, #revdate, #revremark,
#footer {
  font-family: Arial,Helvetica,sans-serif;
}

body {
  margin: 1em 5% 1em 5%;
}

a {
  color: blue;
  text-decoration: underline;
}
a:visited {
  color: fuchsia;
}

em {
  font-style: italic;
  color: navy;
}

strong {
  font-weight: bold;
  color: #083194;
}

h1, h2, h3, h4, h5, h6 {
  color: #527bbd;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

h1, h2, h3 {
  border-bottom: 2px solid silver;
}
h2 {
  padding-top: 0.5em;
}
h3 {
  float: left;
}
h3 + * {
  clear: left;
}
h5 {
  font-size: 1.0em;
}

div.sectionbody {
  margin-left: 0;
}

hr {
  border: 1px solid silver;
}

p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

ul, ol, li > p {
  margin-top: 0;
}
ul > li     { color: #aaa; }
ul > li > * { color: black; }

.monospaced, code, pre {
  font-family: "Courier New", Courier, monospace;
  font-size: inherit;
  color: navy;
  padding: 0;
  margin: 0;
}


#author {
  color: #527bbd;
  font-weight: bold;
  font-size: 1.1em;
}
#email {
}
#revnumber, #revdate, #revremark {
}

#footer {
  font-size: small;
  border-top: 2px solid silver;
  padding-top: 0.5em;
  margin-top: 4.0em;
}
#footer-text {
  float: left;
  padding-bottom: 0.5em;
}
#footer-badges {
  float: right;
  padding-bottom: 0.5em;
}

#preamble {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}
div.imageblock, div.exampleblock, div.verseblock,
div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
div.admonitionblock {
  margin-top: 1.0em;
  margin-bottom: 1.5em;
}
div.admonitionblock {
  margin-top: 2.0em;
  margin-bottom: 2.0em;
  margin-right: 10%;
  color: #606060;
}

div.content { /* Block element content. */
  padding: 0;
}

/* Block element titles. */
div.title, caption.title {
  color: #527bbd;
  font-weight: bold;
  text-align: left;
  margin-top: 1.0em;
  margin-bottom: 0.5em;
}
div.title + * {
  margin-top: 0;
}

td div.title:first-child {
  margin-top: 0.0em;
}
div.content div.title:first-child {
  margin-top: 0.0em;
}
div.content + div.title {
  margin-top: 0.0em;
}

div.sidebarblock > div.content {
  background: #ffffee;
  border: 1px solid #dddddd;
  border-left: 4px solid #f0f0f0;
  padding: 0.5em;
}

div.listingblock > div.content {
  border: 1px solid #dddddd;
  border-left: 5px solid #f0f0f0;
  background: #f8f8f8;
  padding: 0.5em;
}

div.quoteblock, div.verseblock {
  padding-left: 1.0em;
  margin-left: 1.0em;
  margin-right: 10%;
  border-left: 5px solid #f0f0f0;
  color: #888;
}

div.quoteblock > div.attribution {
  padding-top: 0.5em;
  text-align: right;
}

div.verseblock > pre.content {
  font-family: inherit;
  font-size: inherit;
}
div.verseblock > div.attribution {
  padding-top: 0.75em;
  text-align: left;
}
/* DEPRECATED: Pre version 8.2.7 verse style literal block. */
div.verseblock + div.attribution {
  text-align: left;
}

div.admonitionblock .icon {
  vertical-align: top;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: underline;
  color: #527bbd;
  padding-right: 0.5em;
}
div.admonitionblock td.content {
  padding-left: 0.5em;
  border-left: 3px solid #dddddd;
}

div.exampleblock > div.content {
  border-left: 3px solid #dddddd;
  padding-left: 0.5em;
}

div.imageblock div.content { padding-left: 0; }
span.image img { border-style: none; }
a.image:visited { color: white; }

dl {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}
dt {
  margin-top: 0.5em;
  margin-bottom: 0;
  font-style: normal;
  color: navy;
}
dd > *:first-child {
  margin-top: 0.1em;
}

ul, ol {
    list-style-position: outside;
}
ol.arabic {
  list-style-type: decimal;
}
ol.loweralpha {
  list-style-type: lower-alpha;
}
ol.upperalpha {
  list-style-type: upper-alpha;
}
ol.lowerroman {
  list-style-type: lower-roman;
}
ol.upperroman {
  list-style-type: upper-roman;
}

div.compact ul, div.compact ol,
div.compact p, div.compact p,
div.compact div, div.compact div {
  margin-top: 0.1em;
  margin-bottom: 0.1em;
}

tfoot {
  font-weight: bold;
}
td > div.verse {
  white-space: pre;
}

div.hdlist {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}
div.hdlist tr {
  padding-bottom: 15px;
}
dt.hdlist1.strong, td.hdlist1.strong {
  font-weight: bold;
}
td.hdlist1 {
  vertical-align: top;
  font-style: normal;
  padding-right: 0.8em;
  color: navy;
}
td.hdlist2 {
  vertical-align: top;
}
div.hdlist.compact tr {
  margin: 0;
  padding-bottom: 0;
}

.comment {
  background: yellow;
}

.footnote, .footnoteref {
  font-size: 0.8em;
}

span.footnote, span.footnoteref {
  vertical-align: super;
}

#footnotes {
  margin: 20px 0 20px 0;
  padding: 7px 0 0 0;
}

#footnotes div.footnote {
  margin: 0 0 5px 0;
}

#footnotes hr {
  border: none;
  border-top: 1px solid silver;
  height: 1px;
  text-align: left;
  margin-left: 0;
  width: 20%;
  min-width: 100px;
}

div.colist td {
  padding-right: 0.5em;
  padding-bottom: 0.3em;
  vertical-align: top;
}
div.colist td img {
  margin-top: 0.3em;
}

@media print {
  #footer-badges { display: none; }
}

#toc {
  margin-bottom: 2.5em;
}

#toctitle {
  color: #527bbd;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 1.0em;
  margin-bottom: 0.1em;
}

div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
  margin-top: 0;
  margin-bottom: 0;
}
div.toclevel2 {
  margin-left: 2em;
  font-size: 0.9em;
}
div.toclevel3 {
  margin-left: 4em;
  font-size: 0.9em;
}
div.toclevel4 {
  margin-left: 6em;
  font-size: 0.9em;
}

span.aqua { color: aqua; }
span.black { color: black; }
span.blue { color: blue; }
span.fuchsia { color: fuchsia; }
span.gray { color: gray; }
span.green { color: green; }
span.lime { color: lime; }
span.maroon { color: maroon; }
span.navy { color: navy; }
span.olive { color: olive; }
span.purple { color: purple; }
span.red { color: red; }
span.silver { color: silver; }
span.teal { color: teal; }
span.white { color: white; }
span.yellow { color: yellow; }

span.aqua-background { background: aqua; }
span.black-background { background: black; }
span.blue-background { background: blue; }
span.fuchsia-background { background: fuchsia; }
span.gray-background { background: gray; }
span.green-background { background: green; }
span.lime-background { background: lime; }
span.maroon-background { background: maroon; }
span.navy-background { background: navy; }
span.olive-background { background: olive; }
span.purple-background { background: purple; }
span.red-background { background: red; }
span.silver-background { background: silver; }
span.teal-background { background: teal; }
span.white-background { background: white; }
span.yellow-background { background: yellow; }

span.big { font-size: 2em; }
span.small { font-size: 0.6em; }

span.underline { text-decoration: underline; }
span.overline { text-decoration: overline; }
span.line-through { text-decoration: line-through; }

div.unbreakable { page-break-inside: avoid; }


/*
 * xhtml11 specific
 *
 * */

div.tableblock {
  margin-top: 1.0em;
  margin-bottom: 1.5em;
}
div.tableblock > table {
  border: 3px solid #527bbd;
}
thead, p.table.header {
  font-weight: bold;
  color: #527bbd;
}
p.table {
  margin-top: 0;
}
/* Because the table frame attribute is overriden by CSS in most browsers. */
div.tableblock > table[frame="void"] {
  border-style: none;
}
div.tableblock > table[frame="hsides"] {
  border-left-style: none;
  border-right-style: none;
}
div.tableblock > table[frame="vsides"] {
  border-top-style: none;
  border-bottom-style: none;
}


/*
 * html5 specific
 *
 * */

table.tableblock {
  margin-top: 1.0em;
  margin-bottom: 1.5em;
}
thead, p.tableblock.header {
  font-weight: bold;
  color: #527bbd;
}
p.tableblock {
  margin-top: 0;
}
table.tableblock {
  border-width: 3px;
  border-spacing: 0px;
  border-style: solid;
  border-color: #527bbd;
  border-collapse: collapse;
}
th.tableblock, td.tableblock {
  border-width: 1px;
  padding: 4px;
  border-style: solid;
  border-color: #527bbd;
}

table.tableblock.frame-topbot {
  border-left-style: hidden;
  border-right-style: hidden;
}
table.tableblock.frame-sides {
  border-top-style: hidden;
  border-bottom-style: hidden;
}
table.tableblock.frame-none {
  border-style: hidden;
}

th.tableblock.halign-left, td.tableblock.halign-left {
  text-align: left;
}
th.tableblock.halign-center, td.tableblock.halign-center {
  text-align: center;
}
th.tableblock.halign-right, td.tableblock.halign-right {
  text-align: right;
}

th.tableblock.valign-top, td.tableblock.valign-top {
  vertical-align: top;
}
th.tableblock.valign-middle, td.tableblock.valign-middle {
  vertical-align: middle;
}
th.tableblock.valign-bottom, td.tableblock.valign-bottom {
  vertical-align: bottom;
}


/*
 * manpage specific
 *
 * */

body.manpage h1 {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border-top: 2px solid silver;
  border-bottom: 2px solid silver;
}
body.manpage h2 {
  border-style: none;
}
body.manpage div.sectionbody {
  margin-left: 3em;
}

@media print {
  body.manpage div#toc { display: none; }
}


</style>
<script type="text/javascript">
/*<![CDATA[*/
var asciidoc = {  // Namespace.

/////////////////////////////////////////////////////////////////////
// Table Of Contents generator
/////////////////////////////////////////////////////////////////////

/* Author: Mihai Bazon, September 2002
 * http://students.infoiasi.ro/~mishoo
 *
 * Table Of Content generator
 * Version: 0.4
 *
 * Feel free to use this script under the terms of the GNU General Public
 * License, as long as you do not remove or alter this notice.
 */

 /* modified by Troy D. Hanson, September 2006. License: GPL */
 /* modified by Stuart Rackham, 2006, 2009. License: GPL */

// toclevels = 1..4.
toc: function (toclevels) {

  function getText(el) {
    var text = "";
    for (var i = el.firstChild; i != null; i = i.nextSibling) {
      if (i.nodeType == 3 /* Node.TEXT_NODE */) // IE doesn't speak constants.
        text += i.data;
      else if (i.firstChild != null)
        text += getText(i);
    }
    return text;
  }

  function TocEntry(el, text, toclevel) {
    this.element = el;
    this.text = text;
    this.toclevel = toclevel;
  }

  function tocEntries(el, toclevels) {
    var result = new Array;
    var re = new RegExp('[hH]([1-'+(toclevels+1)+'])');
    // Function that scans the DOM tree for header elements (the DOM2
    // nodeIterator API would be a better technique but not supported by all
    // browsers).
    var iterate = function (el) {
      for (var i = el.firstChild; i != null; i = i.nextSibling) {
        if (i.nodeType == 1 /* Node.ELEMENT_NODE */) {
          var mo = re.exec(i.tagName);
          if (mo && (i.getAttribute("class") || i.getAttribute("className")) != "float") {
            result[result.length] = new TocEntry(i, getText(i), mo[1]-1);
          }
          iterate(i);
        }
      }
    }
    iterate(el);
    return result;
  }

  var toc = document.getElementById("toc");
  if (!toc) {
    return;
  }

  // Delete existing TOC entries in case we're reloading the TOC.
  var tocEntriesToRemove = [];
  var i;
  for (i = 0; i < toc.childNodes.length; i++) {
    var entry = toc.childNodes[i];
    if (entry.nodeName.toLowerCase() == 'div'
     && entry.getAttribute("class")
     && entry.getAttribute("class").match(/^toclevel/))
      tocEntriesToRemove.push(entry);
  }
  for (i = 0; i < tocEntriesToRemove.length; i++) {
    toc.removeChild(tocEntriesToRemove[i]);
  }

  // Rebuild TOC entries.
  var entries = tocEntries(document.getElementById("content"), toclevels);
  for (var i = 0; i < entries.length; ++i) {
    var entry = entries[i];
    if (entry.element.id == "")
      entry.element.id = "_toc_" + i;
    var a = document.createElement("a");
    a.href = "#" + entry.element.id;
    a.appendChild(document.createTextNode(entry.text));
    var div = document.createElement("div");
    div.appendChild(a);
    div.className = "toclevel" + entry.toclevel;
    toc.appendChild(div);
  }
  if (entries.length == 0)
    toc.parentNode.removeChild(toc);
},


/////////////////////////////////////////////////////////////////////
// Footnotes generator
/////////////////////////////////////////////////////////////////////

/* Based on footnote generation code from:
 * http://www.brandspankingnew.net/archive/2005/07/format_footnote.html
 */

footnotes: function () {
  // Delete existing footnote entries in case we're reloading the footnodes.
  var i;
  var noteholder = document.getElementById("footnotes");
  if (!noteholder) {
    return;
  }
  var entriesToRemove = [];
  for (i = 0; i < noteholder.childNodes.length; i++) {
    var entry = noteholder.childNodes[i];
    if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote")
      entriesToRemove.push(entry);
  }
  for (i = 0; i < entriesToRemove.length; i++) {
    noteholder.removeChild(entriesToRemove[i]);
  }

  // Rebuild footnote entries.
  var cont = document.getElementById("content");
  var spans = cont.getElementsByTagName("span");
  var refs = {};
  var n = 0;
  for (i=0; i<spans.length; i++) {
    if (spans[i].className == "footnote") {
      n++;
      var note = spans[i].getAttribute("data-note");
      if (!note) {
        // Use [\s\S] in place of . so multi-line matches work.
        // Because JavaScript has no s (dotall) regex flag.
        note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1];
        spans[i].innerHTML =
          "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n +
          "' title='View footnote' class='footnote'>" + n + "</a>]";
        spans[i].setAttribute("data-note", note);
      }
      noteholder.innerHTML +=
        "<div class='footnote' id='_footnote_" + n + "'>" +
        "<a href='#_footnoteref_" + n + "' title='Return to text'>" +
        n + "</a>. " + note + "</div>";
      var id =spans[i].getAttribute("id");
      if (id != null) refs["#"+id] = n;
    }
  }
  if (n == 0)
    noteholder.parentNode.removeChild(noteholder);
  else {
    // Process footnoterefs.
    for (i=0; i<spans.length; i++) {
      if (spans[i].className == "footnoteref") {
        var href = spans[i].getElementsByTagName("a")[0].getAttribute("href");
        href = href.match(/#.*/)[0];  // Because IE return full URL.
        n = refs[href];
        spans[i].innerHTML =
          "[<a href='#_footnote_" + n +
          "' title='View footnote' class='footnote'>" + n + "</a>]";
      }
    }
  }
},

install: function(toclevels) {
  var timerId;

  function reinstall() {
    asciidoc.footnotes();
    if (toclevels) {
      asciidoc.toc(toclevels);
    }
  }

  function reinstallAndRemoveTimer() {
    clearInterval(timerId);
    reinstall();
  }

  timerId = setInterval(reinstall, 500);
  if (document.addEventListener)
    document.addEventListener("DOMContentLoaded", reinstallAndRemoveTimer, false);
  else
    window.onload = reinstallAndRemoveTimer;
}

}
asciidoc.install();
/*]]>*/
</script>
</head>
<body class="manpage">
<div id="header">
<h1>
git-show-ref(1) Manual Page
</h1>
<h2>NAME</h2>
<div class="sectionbody">
<p>git-show-ref -
   List references in a local repository
</p>
</div>
</div>
<div id="content">
<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
<pre class="content"><em>git show-ref</em> [-q|--quiet] [--verify] [--head] [-d|--dereference]
             [-s|--hash[=&lt;n&gt;]] [--abbrev[=&lt;n&gt;]] [--tags]
             [--heads] [--] [&lt;pattern&gt;&#8230;]
<em>git show-ref</em> --exclude-existing[=&lt;pattern&gt;] &lt; ref-list</pre>
<div class="attribution">
</div></div>
</div>
</div>
<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>Displays references available in a local repository along with the associated
commit IDs. Results can be filtered using a pattern and tags can be
dereferenced into object IDs. Additionally, it can be used to test whether a
particular ref exists.</p></div>
<div class="paragraph"><p>The --exclude-existing form is a filter that does the inverse, it shows the
refs from stdin that don&#8217;t exist in the local repository.</p></div>
<div class="paragraph"><p>Use of this utility is encouraged in favor of directly accessing files under
the <code>.git</code> directory.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_options">OPTIONS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
--head
</dt>
<dd>
<p>
        Show the HEAD reference.
</p>
</dd>
<dt class="hdlist1">
--tags
</dt>
<dt class="hdlist1">
--heads
</dt>
<dd>
<p>
        Limit to only "refs/heads" and "refs/tags", respectively.  These
        options are not mutually exclusive; when given both, references stored
        in "refs/heads" and "refs/tags" are displayed.
</p>
</dd>
<dt class="hdlist1">
-d
</dt>
<dt class="hdlist1">
--dereference
</dt>
<dd>
<p>
        Dereference tags into object IDs as well. They will be shown with "&#94;{}"
        appended.
</p>
</dd>
<dt class="hdlist1">
-s
</dt>
<dt class="hdlist1">
--hash[=&lt;n&gt;]
</dt>
<dd>
<p>
        Only show the SHA-1 hash, not the reference name. When combined with
        --dereference the dereferenced tag will still be shown after the SHA-1.
</p>
</dd>
<dt class="hdlist1">
--verify
</dt>
<dd>
<p>
        Enable stricter reference checking by requiring an exact ref path.
        Aside from returning an error code of 1, it will also print an error
        message if <em>--quiet</em> was not specified.
</p>
</dd>
<dt class="hdlist1">
--abbrev[=&lt;n&gt;]
</dt>
<dd>
<p>
        Abbreviate the object name.  When using <code>--hash</code>, you do
        not have to say <code>--hash --abbrev</code>; <code>--hash=n</code> would do.
</p>
</dd>
<dt class="hdlist1">
-q
</dt>
<dt class="hdlist1">
--quiet
</dt>
<dd>
<p>
        Do not print any results to stdout. When combined with <em>--verify</em> this
        can be used to silently check if a reference exists.
</p>
</dd>
<dt class="hdlist1">
--exclude-existing[=&lt;pattern&gt;]
</dt>
<dd>
<p>
        Make <em>git show-ref</em> act as a filter that reads refs from stdin of the
        form "<code>^(?:&lt;anything&gt;\s)?&lt;refname&gt;(?:\^{})?$</code>"
        and performs the following actions on each:
        (1) strip "&#94;{}" at the end of line if any;
        (2) ignore if pattern is provided and does not head-match refname;
        (3) warn if refname is not a well-formed refname and skip;
        (4) ignore if refname is a ref that exists in the local repository;
        (5) otherwise output the line.
</p>
</dd>
<dt class="hdlist1">
&lt;pattern&gt;&#8230;
</dt>
<dd>
<p>
        Show references matching one or more patterns. Patterns are matched from
        the end of the full name, and only complete parts are matched, e.g.
        <em>master</em> matches <em>refs/heads/master</em>, <em>refs/remotes/origin/master</em>,
        <em>refs/tags/jedi/master</em> but not <em>refs/heads/mymaster</em> nor
        <em>refs/remotes/master/jedi</em>.
</p>
</dd>
</dl></div>
</div>
</div>
<div class="sect1">
<h2 id="_output">OUTPUT</h2>
<div class="sectionbody">
<div class="paragraph"><p>The output is in the format: <em>&lt;SHA-1 ID&gt;</em> <em>&lt;space&gt;</em> <em>&lt;reference name&gt;</em>.</p></div>
<div class="listingblock">
<div class="content">
<pre><code>$ git show-ref --head --dereference
832e76a9899f560a90ffd62ae2ce83bbeff58f54 HEAD
832e76a9899f560a90ffd62ae2ce83bbeff58f54 refs/heads/master
832e76a9899f560a90ffd62ae2ce83bbeff58f54 refs/heads/origin
3521017556c5de4159da4615a39fa4d5d2c279b5 refs/tags/v0.99.9c
6ddc0964034342519a87fe013781abf31c6db6ad refs/tags/v0.99.9c^{}
055e4ae3ae6eb344cbabf2a5256a49ea66040131 refs/tags/v1.0rc4
423325a2d24638ddcc82ce47be5e40be550f4507 refs/tags/v1.0rc4^{}
...</code></pre>
</div></div>
<div class="paragraph"><p>When using --hash (and not --dereference) the output format is: <em>&lt;SHA-1 ID&gt;</em></p></div>
<div class="listingblock">
<div class="content">
<pre><code>$ git show-ref --heads --hash
2e3ba0114a1f52b47df29743d6915d056be13278
185008ae97960c8d551adcd9e23565194651b5d1
03adf42c988195b50e1a1935ba5fcbc39b2b029b
...</code></pre>
</div></div>
</div>
</div>
<div class="sect1">
<h2 id="_example">EXAMPLE</h2>
<div class="sectionbody">
<div class="paragraph"><p>To show all references called "master", whether tags or heads or anything
else, and regardless of how deep in the reference naming hierarchy they are,
use:</p></div>
<div class="listingblock">
<div class="content">
<pre><code>        git show-ref master</code></pre>
</div></div>
<div class="paragraph"><p>This will show "refs/heads/master" but also "refs/remote/other-repo/master",
if such references exists.</p></div>
<div class="paragraph"><p>When using the <em>--verify</em> flag, the command requires an exact path:</p></div>
<div class="listingblock">
<div class="content">
<pre><code>        git show-ref --verify refs/heads/master</code></pre>
</div></div>
<div class="paragraph"><p>will only match the exact branch called "master".</p></div>
<div class="paragraph"><p>If nothing matches, <em>git show-ref</em> will return an error code of 1,
and in the case of verification, it will show an error message.</p></div>
<div class="paragraph"><p>For scripting, you can ask it to be quiet with the "--quiet" flag, which
allows you to do things like</p></div>
<div class="listingblock">
<div class="content">
<pre><code>        git show-ref --quiet --verify -- "refs/heads/$headname" ||
                echo "$headname is not a valid branch"</code></pre>
</div></div>
<div class="paragraph"><p>to check whether a particular branch exists or not (notice how we don&#8217;t
actually want to show any results, and we want to use the full refname for it
in order to not trigger the problem with ambiguous partial matches).</p></div>
<div class="paragraph"><p>To show only tags, or only proper branch heads, use "--tags" and/or "--heads"
respectively (using both means that it shows tags and heads, but not other
random references under the refs/ subdirectory).</p></div>
<div class="paragraph"><p>To do automatic tag object dereferencing, use the "-d" or "--dereference"
flag, so you can do</p></div>
<div class="listingblock">
<div class="content">
<pre><code>        git show-ref --tags --dereference</code></pre>
</div></div>
<div class="paragraph"><p>to get a listing of all tags together with what they dereference.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_files">FILES</h2>
<div class="sectionbody">
<div class="paragraph"><p><code>.git/refs/*</code>, <code>.git/packed-refs</code></p></div>
</div>
</div>
<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="git-ls-remote.html">git-ls-remote(1)</a>,
<a href="git-update-ref.html">git-update-ref(1)</a>,
<a href="gitrepository-layout.html">gitrepository-layout(5)</a></p></div>
</div>
</div>
<div class="sect1">
<h2 id="_git">GIT</h2>
<div class="sectionbody">
<div class="paragraph"><p>Part of the <a href="git.html">git(1)</a> suite</p></div>
</div>
</div>
</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
Last updated 2013-06-10 20:01:55 UTC
</div>
</div>
</body>
</html>

Filemanager

Name Type Size Permission Actions
RelNotes Folder 0755
contrib Folder 0755
howto Folder 0755
technical Folder 0755
COPYING File 18.33 KB 0644
README File 2.56 KB 0644
blame-options.txt File 3.95 KB 0644
cmds-ancillaryinterrogators.txt File 1.18 KB 0644
cmds-ancillarymanipulators.txt File 1005 B 0644
cmds-foreignscminterface.txt File 760 B 0644
cmds-mainporcelain.txt File 2.5 KB 0644
cmds-plumbinginterrogators.txt File 1.34 KB 0644
cmds-plumbingmanipulators.txt File 1.21 KB 0644
cmds-purehelpers.txt File 1.11 KB 0644
cmds-synchelpers.txt File 543 B 0644
cmds-synchingrepositories.txt File 397 B 0644
config.txt File 90.14 KB 0644
date-formats.txt File 848 B 0644
diff-config.txt File 6.87 KB 0644
diff-format.txt File 5.44 KB 0644
diff-generate-patch.txt File 6.44 KB 0644
diff-options.txt File 18.12 KB 0644
docbook-xsl.css File 4.45 KB 0644
everyday.html File 35.06 KB 0644
everyday.txt File 12.71 KB 0644
fetch-options.txt File 4.22 KB 0644
git-add.html File 35.63 KB 0644
git-add.txt File 13.96 KB 0644
git-am.html File 25.86 KB 0644
git-am.txt File 6.02 KB 0644
git-annotate.html File 23.32 KB 0644
git-annotate.txt File 752 B 0644
git-apply.html File 30.82 KB 0644
git-apply.txt File 10.07 KB 0644
git-archive.html File 25.88 KB 0644
git-archive.txt File 6.05 KB 0644
git-bisect-lk2009.html File 78.86 KB 0644
git-bisect-lk2009.txt File 48.08 KB 0644
git-bisect.html File 33.08 KB 0644
git-bisect.txt File 12.38 KB 0644
git-blame.html File 37.08 KB 0644
git-blame.txt File 7.63 KB 0644
git-branch.html File 31.29 KB 0644
git-branch.txt File 9.87 KB 0644
git-bundle.html File 25.72 KB 0644
git-bundle.txt File 6.89 KB 0644
git-cat-file.html File 21.04 KB 0644
git-cat-file.txt File 2.9 KB 0644
git-check-attr.html File 21.17 KB 0644
git-check-attr.txt File 2.72 KB 0644
git-check-ignore.html File 20.25 KB 0644
git-check-ignore.txt File 2.35 KB 0644
git-check-ref-format.html File 22.43 KB 0644
git-check-ref-format.txt File 4.08 KB 0644
git-checkout-index.html File 24.34 KB 0644
git-checkout-index.txt File 5.31 KB 0644
git-checkout.html File 38.47 KB 0644
git-checkout.txt File 15.61 KB 0644
git-cherry-pick.html File 28.28 KB 0644
git-cherry-pick.txt File 7.73 KB 0644
git-cherry.html File 19.15 KB 0644
git-cherry.txt File 1.71 KB 0644
git-citool.html File 17.13 KB 0644
git-citool.txt File 543 B 0644
git-clean.html File 19.45 KB 0644
git-clean.txt File 1.92 KB 0644
git-clone.html File 34.75 KB 0644
git-clone.txt File 9.84 KB 0644
git-column.html File 18.47 KB 0644
git-column.txt File 1.14 KB 0644
git-commit-tree.html File 25.04 KB 0644
git-commit-tree.txt File 2.79 KB 0644
git-commit.html File 43.18 KB 0644
git-commit.txt File 14.96 KB 0644
git-config.html File 181.42 KB 0644
git-config.txt File 11.52 KB 0644
git-count-objects.html File 18.11 KB 0644
git-count-objects.txt File 1.06 KB 0644
git-credential-cache--daemon.html File 17.4 KB 0644
git-credential-cache--daemon.txt File 684 B 0644
git-credential-cache.html File 19.26 KB 0644
git-credential-cache.txt File 2.13 KB 0644
git-credential-store.html File 19.42 KB 0644
git-credential-store.txt File 2.11 KB 0644
git-credential.html File 23.82 KB 0644
git-credential.txt File 5.72 KB 0644
git-cvsexportcommit.html File 21.34 KB 0644
git-cvsexportcommit.txt File 3.13 KB 0644
git-cvsimport.html File 27.62 KB 0644
git-cvsimport.txt File 7.57 KB 0644
git-cvsserver.html File 38.1 KB 0644
git-cvsserver.txt File 15.21 KB 0644
git-daemon.html File 32.69 KB 0644
git-daemon.txt File 11.58 KB 0644
git-describe.html File 24.35 KB 0644
git-describe.txt File 5.59 KB 0644
git-diff-files.html File 59.9 KB 0644
git-diff-files.txt File 1.18 KB 0644
git-diff-index.html File 64.69 KB 0644
git-diff-index.txt File 4.49 KB 0644
git-diff-tree.html File 82.31 KB 0644
git-diff-tree.txt File 5.26 KB 0644
git-diff.html File 66.63 KB 0644
git-diff.txt File 5.34 KB 0644
git-difftool.html File 22.93 KB 0644
git-difftool.txt File 4.02 KB 0644
git-fast-export.html File 23.45 KB 0644
git-fast-export.txt File 5.16 KB 0644
git-fast-import.html File 92.66 KB 0644
git-fast-import.txt File 53.75 KB 0644
git-fetch-pack.html File 21.26 KB 0644
git-fetch-pack.txt File 3.28 KB 0644
git-fetch.html File 38.95 KB 0644
git-fetch.txt File 2.65 KB 0644
git-filter-branch.html File 37.67 KB 0644
git-filter-branch.txt File 16.84 KB 0644
git-fmt-merge-msg.html File 19.55 KB 0644
git-fmt-merge-msg.txt File 1.87 KB 0644
git-for-each-ref.html File 25.45 KB 0644
git-for-each-ref.txt File 5.72 KB 0644
git-format-patch.html File 58.91 KB 0644
git-format-patch.txt File 18.38 KB 0644
git-fsck-objects.html File 16.88 KB 0644
git-fsck-objects.txt File 354 B 0644
git-fsck.html File 23.33 KB 0644
git-fsck.txt File 4.54 KB 0644
git-gc.html File 23.82 KB 0644
git-gc.txt File 5.34 KB 0644
git-get-tar-commit-id.html File 17.32 KB 0644
git-get-tar-commit-id.txt File 737 B 0644
git-grep.html File 29.02 KB 0644
git-grep.txt File 7.55 KB 0644
git-gui.html File 22.1 KB 0644
git-gui.txt File 3.5 KB 0644
git-hash-object.html File 18.92 KB 0644
git-hash-object.txt File 1.8 KB 0644
git-help.html File 25.14 KB 0644
git-help.txt File 5.99 KB 0644
git-http-backend.html File 28.46 KB 0644
git-http-backend.txt File 9.48 KB 0644
git-http-fetch.html File 18.41 KB 0644
git-http-fetch.txt File 1.14 KB 0644
git-http-push.html File 20.73 KB 0644
git-http-push.txt File 2.91 KB 0644
git-imap-send.html File 22.84 KB 0644
git-imap-send.txt File 4.24 KB 0644
git-index-pack.html File 21.01 KB 0644
git-index-pack.txt File 3.32 KB 0644
git-init-db.html File 16.95 KB 0644
git-init-db.txt File 409 B 0644
git-init.html File 23 KB 0644
git-init.txt File 4.69 KB 0644
git-instaweb.html File 20.06 KB 0644
git-instaweb.txt File 2.25 KB 0644
git-log.html File 111.87 KB 0644
git-log.txt File 5.68 KB 0644
git-lost-found.html File 18.83 KB 0644
git-lost-found.txt File 1.69 KB 0644
git-ls-files.html File 26.46 KB 0644
git-ls-files.txt File 6.1 KB 0644
git-ls-remote.html File 20.11 KB 0644
git-ls-remote.txt File 2.54 KB 0644
git-ls-tree.html File 21.06 KB 0644
git-ls-tree.txt File 2.93 KB 0644
git-mailinfo.html File 20.78 KB 0644
git-mailinfo.txt File 3 KB 0644
git-mailsplit.html File 18.52 KB 0644
git-mailsplit.txt File 1.21 KB 0644
git-merge-base.html File 23.17 KB 0644
git-merge-base.txt File 4.32 KB 0644
git-merge-file.html File 20.71 KB 0644
git-merge-file.txt File 2.72 KB 0644
git-merge-index.html File 19.88 KB 0644
git-merge-index.txt File 2.39 KB 0644
git-merge-one-file.html File 16.9 KB 0644
git-merge-one-file.txt File 387 B 0644
git-merge-tree.html File 17.32 KB 0644
git-merge-tree.txt File 749 B 0644
git-merge.html File 50.38 KB 0644
git-merge.txt File 11.97 KB 0644
git-mergetool--lib.html File 18.23 KB 0644
git-mergetool--lib.txt File 1.18 KB 0644
git-mergetool.html File 20.98 KB 0644
git-mergetool.txt File 3.26 KB 0644
git-mktag.html File 17.63 KB 0644
git-mktag.txt File 806 B 0644
git-mktree.html File 17.94 KB 0644
git-mktree.txt File 1.05 KB 0644
git-mv.html File 18.33 KB 0644
git-mv.txt File 1.16 KB 0644
git-name-rev.html File 19.17 KB 0644
git-name-rev.txt File 1.68 KB 0644
git-notes.html File 35.71 KB 0644
git-notes.txt File 13.08 KB 0644
git-p4.html File 44.35 KB 0644
git-p4.txt File 18.73 KB 0644
git-pack-objects.html File 28.46 KB 0644
git-pack-objects.txt File 8.86 KB 0644
git-pack-redundant.html File 18.24 KB 0644
git-pack-redundant.txt File 1.13 KB 0644
git-pack-refs.html File 19.15 KB 0644
git-pack-refs.txt File 2.06 KB 0644
git-parse-remote.html File 16.97 KB 0644
git-parse-remote.txt File 471 B 0644
git-patch-id.html File 17.71 KB 0644
git-patch-id.txt File 940 B 0644
git-peek-remote.html File 18.03 KB 0644
git-peek-remote.txt File 1.08 KB 0644
git-prune-packed.html File 17.99 KB 0644
git-prune-packed.txt File 935 B 0644
git-prune.html File 19.57 KB 0644
git-prune.txt File 1.76 KB 0644
git-pull.html File 54.96 KB 0644
git-pull.txt File 7.72 KB 0644
git-push.html File 48.49 KB 0644
git-push.txt File 16.26 KB 0644
git-quiltimport.html File 18.4 KB 0644
git-quiltimport.txt File 1.4 KB 0644
git-read-tree.html File 38.05 KB 0644
git-read-tree.txt File 16.36 KB 0644
git-rebase.html File 57.88 KB 0644
git-rebase.txt File 23.62 KB 0644
git-receive-pack.html File 23.98 KB 0644
git-receive-pack.txt File 5.48 KB 0644
git-reflog.html File 20.86 KB 0644
git-reflog.txt File 3.09 KB 0644
git-relink.html File 17.41 KB 0644
git-relink.txt File 649 B 0644
git-remote-ext.html File 22.43 KB 0644
git-remote-ext.txt File 3.93 KB 0644
git-remote-fd.html File 19 KB 0644
git-remote-fd.txt File 1.63 KB 0644
git-remote-helpers.html File 16.45 KB 0644
git-remote-testgit.html File 17.26 KB 0644
git-remote-testgit.txt File 570 B 0644
git-remote.html File 26.62 KB 0644
git-remote.txt File 6.79 KB 0644
git-repack.html File 22.99 KB 0644
git-repack.txt File 4.52 KB 0644
git-replace.html File 19.86 KB 0644
git-replace.txt File 2.26 KB 0644
git-repo-config.html File 16.85 KB 0644
git-repo-config.txt File 324 B 0644
git-request-pull.html File 17.41 KB 0644
git-request-pull.txt File 528 B 0644
git-rerere.html File 25.93 KB 0644
git-rerere.txt File 7.29 KB 0644
git-reset.html File 36.54 KB 0644
git-reset.txt File 14.15 KB 0644
git-rev-list.html File 73.64 KB 0644
git-rev-list.txt File 3.59 KB 0644
git-rev-parse.html File 46.91 KB 0644
git-rev-parse.txt File 10.03 KB 0644
git-revert.html File 22.61 KB 0644
git-revert.txt File 3.69 KB 0644
git-rm.html File 24.83 KB 0644
git-rm.txt File 5.68 KB 0644
git-send-email.html File 36.99 KB 0644
git-send-email.txt File 13.93 KB 0644
git-send-pack.html File 21.8 KB 0644
git-send-pack.txt File 3.6 KB 0644
git-sh-i18n--envsubst.html File 17.64 KB 0644
git-sh-i18n--envsubst.txt File 928 B 0644
git-sh-i18n.html File 18.06 KB 0644
git-sh-i18n.txt File 1.12 KB 0644
git-sh-setup.html File 20.46 KB 0644
git-sh-setup.txt File 2.73 KB 0644
git-shell.html File 20.25 KB 0644
git-shell.txt File 2.47 KB 0644
git-shortlog.html File 24.29 KB 0644
git-shortlog.txt File 2.57 KB 0644
git-show-branch.html File 25.52 KB 0644
git-show-branch.txt File 6.36 KB 0644
git-show-index.html File 17.03 KB 0644
git-show-index.txt File 478 B 0644
git-show-ref.html File 24.15 KB 0644
git-show-ref.txt File 5.83 KB 0644
git-show.html File 38.73 KB 0644
git-show.txt File 1.64 KB 0644
git-stage.html File 16.82 KB 0644
git-stage.txt File 300 B 0644
git-stash.html File 29.25 KB 0644
git-stash.txt File 9.85 KB 0644
git-status.html File 27.38 KB 0644
git-status.txt File 7.77 KB 0644
git-stripspace.html File 19.37 KB 0644
git-stripspace.txt File 1.83 KB 0644
git-submodule.html File 36.33 KB 0644
git-submodule.txt File 15.13 KB 0644
git-svn.html File 73.85 KB 0644
git-svn.txt File 41.53 KB 0644
git-symbolic-ref.html File 19.37 KB 0644
git-symbolic-ref.txt File 1.93 KB 0644
git-tag.html File 31.51 KB 0644
git-tag.txt File 9.44 KB 0644
git-tar-tree.html File 20.04 KB 0644
git-tar-tree.txt File 2.31 KB 0644
git-tools.html File 22.01 KB 0644
git-tools.txt File 3.36 KB 0644
git-unpack-file.html File 17.13 KB 0644
git-unpack-file.txt File 434 B 0644
git-unpack-objects.html File 18.15 KB 0644
git-unpack-objects.txt File 1.14 KB 0644
git-update-index.html File 35.2 KB 0644
git-update-index.txt File 13.2 KB 0644
git-update-ref.html File 20.82 KB 0644
git-update-ref.txt File 3.16 KB 0644
git-update-server-info.html File 17.72 KB 0644
git-update-server-info.txt File 797 B 0644
git-upload-archive.html File 17.35 KB 0644
git-upload-archive.txt File 617 B 0644
git-upload-pack.html File 17.88 KB 0644
git-upload-pack.txt File 869 B 0644
git-var.html File 19.08 KB 0644
git-var.txt File 1.8 KB 0644
git-verify-pack.html File 18.39 KB 0644
git-verify-pack.txt File 1.07 KB 0644
git-verify-tag.html File 17.2 KB 0644
git-verify-tag.txt File 411 B 0644
git-web--browse.html File 21.63 KB 0644
git-web--browse.txt File 3.43 KB 0644
git-whatchanged.html File 35.64 KB 0644
git-whatchanged.txt File 1.55 KB 0644
git-write-tree.html File 17.91 KB 0644
git-write-tree.txt File 1 KB 0644
git.html File 70.05 KB 0644
git.txt File 31.8 KB 0644
gitattributes.html File 62.01 KB 0644
gitattributes.txt File 33.51 KB 0644
gitcli.html File 26.56 KB 0644
gitcli.txt File 7.75 KB 0644
gitcore-tutorial.html File 99.92 KB 0644
gitcore-tutorial.txt File 62.33 KB 0644
gitcredentials.html File 24.45 KB 0644
gitcredentials.txt File 5.93 KB 0644
gitcvs-migration.html File 26.03 KB 0644
gitcvs-migration.txt File 7.38 KB 0644
gitdiffcore.html File 29.51 KB 0644
gitdiffcore.txt File 10.78 KB 0644
gitglossary.html File 48.63 KB 0644
gitglossary.txt File 369 B 0644
githooks.html File 35.01 KB 0644
githooks.txt File 13.48 KB 0644
gitignore.html File 24.81 KB 0644
gitignore.txt File 6.58 KB 0644
gitk.html File 21.61 KB 0644
gitk.txt File 3.23 KB 0644
gitmodules.html File 21.72 KB 0644
gitmodules.txt File 3.76 KB 0644
gitnamespaces.html File 20.5 KB 0644
gitnamespaces.txt File 3.2 KB 0644
gitremote-helpers.html File 39.11 KB 0644
gitremote-helpers.txt File 16.06 KB 0644
gitrepository-layout.html File 28.1 KB 0644
gitrepository-layout.txt File 7.95 KB 0644
gitrevisions.html File 32.66 KB 0644
gitrevisions.txt File 774 B 0644
gittutorial-2.html File 33.55 KB 0644
gittutorial-2.txt File 14.37 KB 0644
gittutorial.html File 44.41 KB 0644
gittutorial.txt File 22.43 KB 0644
gitweb.conf.html File 66.11 KB 0644
gitweb.conf.txt File 37.3 KB 0644
gitweb.html File 50.94 KB 0644
gitweb.txt File 26.34 KB 0644
gitworkflows.html File 38.85 KB 0644
gitworkflows.txt File 17 KB 0644
glossary-content.txt File 21.95 KB 0644
howto-index.html File 21.31 KB 0644
howto-index.txt File 3.29 KB 0644
i18n.txt File 2.16 KB 0644
mailmap.txt File 2.35 KB 0644
merge-config.txt File 3.47 KB 0644
merge-options.txt File 3.58 KB 0644
merge-strategies.txt File 4.6 KB 0644
mergetools-diff.txt File 181 B 0644
mergetools-merge.txt File 187 B 0644
pretty-formats.txt File 7.59 KB 0644
pretty-options.txt File 2.81 KB 0644
pull-fetch-param.txt File 3.19 KB 0644
rev-list-options.txt File 27.11 KB 0644
revisions.txt File 11.5 KB 0644
sequencer.txt File 392 B 0644
urls-remotes.txt File 2.4 KB 0644
urls.txt File 3.12 KB 0644
user-manual.html File 264.08 KB 0644
user-manual.txt File 170.67 KB 0644