diff options
author | Junio C Hamano <junio@kernel.org> | 2010-01-23 03:02:50 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2010-01-23 03:02:50 +0000 |
commit | 57827fb28944ab9eee73efc93f04fb6dfc6e36a8 (patch) | |
tree | 935f9e461c67a51943bca7879ec02af645e62d67 /git-rev-parse.html | |
parent | 364b6a4e15285cad6c674f515c0aa3538cfed028 (diff) | |
download | git-htmldocs-57827fb28944ab9eee73efc93f04fb6dfc6e36a8.tar.gz |
Autogenerated HTML docs for v1.6.6.1-436-gaba7d
Diffstat (limited to 'git-rev-parse.html')
-rw-r--r-- | git-rev-parse.html | 36 |
1 files changed, 25 insertions, 11 deletions
diff --git a/git-rev-parse.html b/git-rev-parse.html index 9018af282..97579d6e3 100644 --- a/git-rev-parse.html +++ b/git-rev-parse.html @@ -502,27 +502,35 @@ distinguish between them.</p></div> </p>
</dd>
<dt>
---branches
+--branches[=pattern]
+</dt>
+<dt>
+--tags[=pattern]
</dt>
-<dd>
-<p>
- Show branch refs found in <tt>$GIT_DIR/refs/heads</tt>.
-</p>
-</dd>
<dt>
---tags
+--remotes[=pattern]
</dt>
<dd>
<p>
- Show tag refs found in <tt>$GIT_DIR/refs/tags</tt>.
+ Show all branches, tags, or remote-tracking branches,
+ respectively (i.e., refs found in <tt>$GIT_DIR/refs/heads</tt>,
+ <tt>$GIT_DIR/refs/tags</tt>, or <tt>$GIT_DIR/refs/remotes</tt>,
+ respectively).
</p>
+<div class="para"><p>If a <tt>pattern</tt> is given, only refs matching the given shell glob are
+shown. If the pattern does not contain a globbing character (<tt>?</tt>,
+<tt>*</tt>, or <tt>[</tt>), it is turned into a prefix match by appending <tt>/*</tt>.</p></div>
</dd>
<dt>
---remotes
+--glob=pattern
</dt>
<dd>
<p>
- Show tag refs found in <tt>$GIT_DIR/refs/remotes</tt>.
+ Show all refs matching the shell glob pattern <tt>pattern</tt>. If
+ the pattern does not start with <tt>refs/</tt>, this is automatically
+ prepended. If the pattern does not contain a globbing
+ character (<tt>?</tt>, <tt>*</tt>, or <tt>[</tt>), it is turned into a prefix
+ match by appending <tt>/*</tt>.
</p>
</dd>
<dt>
@@ -750,6 +758,12 @@ The special construct <em>@{-<n>}</em> means the <n>th branch checke </li>
<li>
<p>
+ the branch the ref is set to build on top of. Missing ref defaults
+ to the current branch.
+</p>
+</li>
+<li>
+<p>
A suffix <em>^</em> to a revision parameter means the first parent of
that commit object. <em>^<n></em> means the <n>th parent (i.e.
<em>rev^</em>
@@ -1042,7 +1056,7 @@ Junio C Hamano <gitster@pobox.com> and Pierre Habouzit <madcoder@debian </div>
<div id="footer">
<div id="footer-text">
-Last updated 2010-01-21 17:44:37 UTC
+Last updated 2010-01-23 03:02:29 UTC
</div>
</div>
</body>
|