Template:Flightgear clone: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Added the 'opt' and 'post' parameters.)
(Fix for the category to be inside <noinclude>.)
Line 37: Line 37:
{{repo link/doc related}}
{{repo link/doc related}}


}}</noinclude>
}}
 


[[Category:SCM Instruction Templates]]
[[Category:SCM Instruction Templates]]
</noinclude>

Revision as of 12:11, 25 February 2016

git clone git://git.code.sf.net/p/flightgear/flightgear/

The following template description is not displayed when the template is inserted in an article.

Goal

To provide a consistent representation of the command to clone the FlightGear git repository.

Usage

{{flightgear clone
| opt  =
| post =
}}
opt
Any additional options to show after git clone.
post
Any optional text to show after the URL.

Example

{{flightgear clone
| opt  = -v
| post = flightgear-flightgear
}}

git clone -v git://git.code.sf.net/p/flightgear/flightgear/ flightgear-flightgear

Related templates