|
|
Line 11: |
Line 11: |
| }} }}<noinclude> | | }} }}<noinclude> |
|
| |
|
| {{Informative template|1= | | {{repo link/doc 3rd party infrastructure clone |
| __NOTOC__
| | | label = GitLab |
| == Goal ==
| | | site = gitlab |
| To provide a consistent representation of the command to clone GitLab repositories.
| | | examples = |
| | |
| == Usage ==
| |
| {{obr}}'''openscenegraph co'''
| |
| {{!}} ''opt'' =
| |
| {{!}} ''proj'' =
| |
| {{!}} ''repo'' =
| |
| {{!}} ''path'' =
| |
| {{!}} ''post'' =
| |
| {{cbr}}
| |
| | |
| ; opt: Any additional options to show after <code>git clone</code>.
| |
| | |
| ; proj: The name of the project, consisting of a grouping of repositories on the open source infrastructure.
| |
| | |
| ; repo: The name of the repository. A GitLab project allows for multiple repositories under that project name.
| |
| | |
| ; post: Any optional text to show after the URL.
| |
| | |
| == Example ==
| |
| This should produce the text <code><nowiki>svn co http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk osg</nowiki></code>.
| |
| | |
| {{obr}}openscenegraph co{{cbr}}
| |
| | |
| {{openscenegraph co}}
| |
| | |
| === Checkout of trunk with user name ===
| |
| This should produce the text <code><nowiki>git clone -v https://gitlab.com/extra500/extra500.git</nowiki></code>. | | This should produce the text <code><nowiki>git clone -v https://gitlab.com/extra500/extra500.git</nowiki></code>. |
|
| |
|
Line 54: |
Line 28: |
| | repo = extra500 | | | repo = extra500 |
| }}}}. | | }}}}. |
|
| |
| == Related templates ==
| |
| {{repo link/doc related}}
| |
|
| |
| }} | | }} |
|
| |
|
| [[Category:SCM Instruction Templates]]
| |
| </noinclude> | | </noinclude> |