Line 1: |
Line 1: |
− | {{#tag:nowiki | {{repo link | + | {{#tag:nowiki|{{repo link |
− | | site = sf | + | | site = {{project infrastructure|abbrev}} |
− | | cmd = git clone {{{opt|}}} | + | | cmd = git clone |
− | | protocol = git | + | | opt{{#if:{{{opt|}}}||NULL}} = {{{opt}}} |
− | | type = git | + | | protocol = git |
− | | proj = fgdata | + | | type = git |
− | | post = {{{post|}}} | + | | repo = fgdata |
− | | full = 1 | + | | post{{#if:{{{post|}}}||NULL}} = {{{post}}} |
− | }} }}<noinclude> | + | | full = 1 |
− | {{Informative template|1=
| + | }}}}<noinclude> |
− | __NOTOC__
| |
− | == Goal ==
| |
− | To provide a consistent representation of the command to clone the FGData git repository.
| |
| | | |
− | == Usage ==
| + | {{repo link/doc git clone |
− | {{obr}}'''fgdata clone'''
| + | | label = FGData |
− | {{!}} ''opt'' =
| + | | repo = fgdata |
− | {{!}} ''post'' =
| + | | post = fgdata |
− | {{cbr}}
| |
− | | |
− | ; opt: Any additional options to show after <code>git clone</code>.
| |
− | | |
− | ; post: Any optional text to show after the URL.
| |
− | | |
− | == Example ==
| |
− | {{obr}}fgdata clone
| |
− | {{!}} opt = -v
| |
− | {{!}} post = flightgear-fgdata
| |
− | {{cbr}}
| |
− | | |
− | {{fgdata clone
| |
− | | opt = -v | |
− | | post = flightgear-fgdata
| |
− | }}
| |
− | | |
− | == Related templates ==
| |
− | === Clone or checkout templates ===
| |
− | * {{tl|flightgear clone}}
| |
− | * {{tl|simgear clone}}
| |
− | * {{tl|fgaddon co}}
| |
− | | |
− | === Source link templates ===
| |
− | * {{tl|repo link}}
| |
− | * {{tl|fgaddon url}}
| |
− | * {{tl|flightgear file}}
| |
− | * {{tl|simgear file}}
| |
− | | |
− | === Commit link templates ===
| |
− | * {{tl|fgaddon revision}}
| |
− | * {{tl|fgdata commit}}
| |
− | * {{tl|simgear commit}}
| |
− | * {{tl|flightgear commit}}
| |
| }} | | }} |
| | | |
− | [[Category:SCM Instruction Templates]]
| |
| </noinclude> | | </noinclude> |