Template:Repo link/doc git source: Difference between revisions

Jump to navigation Jump to search
m
The default branch name can now be changed via the 'branch' parameter.
(Documentation template for transclusion into the {{<repo> file}} subtemplates, specific for git repositories.)
 
m (The default branch name can now be changed via the 'branch' parameter.)
Line 31: Line 31:
; type: Choose between the web interface or direct repository link.  This can be either '''git''' or '''git web'''.  The default is '''git web'''.
; type: Choose between the web interface or direct repository link.  This can be either '''git''' or '''git web'''.  The default is '''git web'''.


; branch: The git branch or tag name.  For git tags, simply append <code>/~</code> to the tag name.  This defaults to '''next'''.
; branch: The git branch or tag name.  For git tags, simply append <code>/~</code> to the tag name.  This defaults to '''{{{branch|next}}}'''.


; path: The file path.
; path: The file path.

Navigation menu