aboutsummaryrefslogtreecommitdiff
path: root/doc/templates/gitbranch.mdwn
blob: 2df75097f912ba5e2cb785d7a2794745af4324e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<span class="infobox">
Available in a [[!taglink /git]] repository [[!taglink branch|/branches]].<br />
Branch: <TMPL_IF browse>
<a href="<TMPL_VAR browse>"><TMPL_VAR branch></a>
<TMPL_ELSE>
<TMPL_VAR branch>
</TMPL_IF><br />
<TMPL_IF author>
Author: <TMPL_VAR author><br />
<TMPL_IF>
</span>
<TMPL_UNLESS branch>
This template is used to create an infobox for a git branch. It uses
these parameters:

<ul>
<li>branch - the name of the branch, prefixed with the name of one of the
  remotes listed on the [[/git]] page and provided by the gitremotes script
  (e.g. github/master)</li>
<li>author - the author of the branch</li>
</ul>
</TMPL_UNLESS>