Difference between revisions of "Template:Git"

From Eclipsepedia

Jump to: navigation, search
(New page: <noinclude> This template is used to provide a link to a git repository. The single parameter should be the path of your Git repository under /gitroot. {{Usage|<pre>{{Git|/ecf/org.eclipse...)
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template is used to provide a link to a git repository. The single parameter should be the path of your Git repository under /gitroot.
+
This template is used to provide a link to a git repository. The first parameter is the name of the project, and the second parameter is the repository name.
  
{{Usage|<pre>{{Git|/ecf/org.eclipse.ecf.git}}</pre>
+
{{Usage|<pre>{{Git|ecf|org.eclipse.ecf.git}}</pre>
|2={{Git|/ecf/org.eclipse.ecf.git}}}}
+
|2={{Git|ecf|org.eclipse.ecf.git}}}}
</noinclude><includeonly>[http://git.eclipse.org/c{{{1}}} {{{1}}}]</includeonly>
+
</noinclude><includeonly>[http://git.eclipse.org/c/{{{1}}}/{{{2}}} {{{2}}}]</includeonly>

Revision as of 14:29, 25 January 2011

This template is used to provide a link to a git repository. The first parameter is the name of the project, and the second parameter is the repository name.

Markup Rendering
{{Git|ecf|org.eclipse.ecf.git}}

org.eclipse.ecf.git (browse, stats, fork on OrionHub)