summaryrefslogtreecommitdiffstats
path: root/git-for-each-ref.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-11-15 14:57:08 +0900
committerJunio C Hamano <gitster@pobox.com>2017-11-15 14:57:08 +0900
commitb72f60303287a25c0a0305120b203276faca07fa (patch)
tree266b78e12ffe9ea48891de6b57c53660ecd00482 /git-for-each-ref.html
parent3a9c034734bf5aa3e3b139e72a6b0b96ddf0b3e9 (diff)
downloadgit-htmldocs-b72f60303287a25c0a0305120b203276faca07fa.tar.gz
Autogenerated HTML docs for v2.15.0-276-g89ea79
Diffstat (limited to 'git-for-each-ref.html')
-rw-r--r--git-for-each-ref.html23
1 files changed, 14 insertions, 9 deletions
diff --git a/git-for-each-ref.html b/git-for-each-ref.html
index 1071468c8..7fa35bb56 100644
--- a/git-for-each-ref.html
+++ b/git-for-each-ref.html
@@ -978,12 +978,17 @@ upstream
(behind), "&lt;&gt;" (ahead and behind), or "=" (in sync). <code>:track</code>
also prints "[gone]" whenever unknown upstream ref is
encountered. Append <code>:track,nobracket</code> to show tracking
- information without brackets (i.e "ahead N, behind M"). Has
- no effect if the ref does not have tracking information
- associated with it. All the options apart from <code>nobracket</code>
- are mutually exclusive, but if used together the last option
- is selected.
+ information without brackets (i.e "ahead N, behind M").
</p>
+<div class="paragraph"><p>For any remote-tracking branch <code>%(upstream)</code>, <code>%(upstream:remotename)</code>
+and <code>%(upstream:remoteref)</code> refer to the name of the remote and the
+name of the tracked remote ref, respectively. In other words, the
+remote-tracking branch can be updated explicitly and individually by
+using the refspec <code>%(upstream:remoteref):%(upstream)</code> to fetch from
+<code>%(upstream:remotename)</code>.</p></div>
+<div class="paragraph"><p>Has no effect if the ref does not have tracking information associated
+with it. All the options apart from <code>nobracket</code> are mutually exclusive,
+but if used together the last option is selected.</p></div>
</dd>
<dt class="hdlist1">
push
@@ -992,9 +997,9 @@ push
<p>
The name of a local ref which represents the <code>@{push}</code>
location for the displayed ref. Respects <code>:short</code>, <code>:lstrip</code>,
- <code>:rstrip</code>, <code>:track</code>, and <code>:trackshort</code> options as <code>upstream</code>
- does. Produces an empty string if no <code>@{push}</code> ref is
- configured.
+ <code>:rstrip</code>, <code>:track</code>, <code>:trackshort</code>, <code>:remotename</code>, and <code>:remoteref</code>
+ options as <code>upstream</code> does. Produces an empty string if no <code>@{push}</code>
+ ref is configured.
</p>
</dd>
<dt class="hdlist1">
@@ -1221,7 +1226,7 @@ This prints the authorname, if present.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2017-10-11 15:31:05 JST
+Last updated 2017-11-15 14:56:49 JST
</div>
</div>
</body>