| 1 | {extends "idf/source/base.html"}␊ |
| 2 | {block docclass}yui-t2{assign $inHelp=true}{/block}␊ |
| 3 | {block body}␊ |
| 4 | ␊ |
| 5 | <p>{blocktrans}The team behind {$project} is using␊ |
| 6 | the <strong>git</strong> software to manage the source␊ |
| 7 | code.{/blocktrans}</p>␊ |
| 8 | ␊ |
| 9 | <h3>{trans 'Command-Line Access'}</h3>␊ |
| 10 | ␊ |
| 11 | <p><kbd>git clone {$project.getSourceAccessUrl($user)}</kbd></p>␊ |
| 12 | ␊ |
| 13 | {aurl 'url', 'IDF_Views_User::myAccount'}␊ |
| 14 | <p>{blocktrans}You may need to <a href="{$url}">provide your SSH key</a>. The synchronization of your SSH key can take a couple of minutes. You can learn more about <a href="http://www.google.com/search?q=public+ssh+key+authentication">SSH key authentication</a>.{/blocktrans}</p>␊ |
| 15 | ␊ |
| 16 | {if $isOwner or $isMember}␊ |
| 17 | <h3>{trans 'First Commit'}</h3>␊ |
| 18 | ␊ |
| 19 | <p>{blocktrans}To make a first commit in the repository, perform the following steps:{/blocktrans}</p>␊ |
| 20 | ␊ |
| 21 | <pre>␊ |
| 22 | git init␊ |
| 23 | git add .␊ |
| 24 | git commit -m "initial import"␊ |
| 25 | git remote add origin {$project.getWriteRemoteAccessUrl($user)}␊ |
| 26 | git push origin master␊ |
| 27 | </pre>␊ |
| 28 | ␊ |
| 29 | {/if}␊ |
| 30 | ␊ |
| 31 | {/block}␊ |
| 32 | {block context}␊ |
| 33 | <div class="issue-submit-info">␊ |
| 34 | <p>{blocktrans}Find here more details on how to access {$project} source code.{/blocktrans}</p>␊ |
| 35 | </div>␊ |
| 36 | {/block}␊ |
| 37 | ␊ |
| 38 | ␊ |
| 39 | |