6,566
edits
(→History: Reintroduced the $FG_ROOT/Aircraft text.) |
(Switched from the master {{repo link}} template to the {{sourceforge url}} subtemplate.) |
||
Line 821: | Line 821: | ||
To share the local developments, the changes can be uploaded to a remote git repository on the SourceForge infrastructure. For this, a [[#Developer_git_repository|developer git repository]] should first be set up under your SourceForge profile. Then add this as a remote: | To share the local developments, the changes can be uploaded to a remote git repository on the SourceForge infrastructure. For this, a [[#Developer_git_repository|developer git repository]] should first be set up under your SourceForge profile. Then add this as a remote: | ||
{{#tag:syntaxhighlight| | {{#tag:syntaxhighlight| | ||
{{ | {{sourceforge url|cmd=git remote add|opt=origin|protocol=ssh|login=<username>|user=<username>|type=git|repo=code-<aircraft>}} | ||
| lang = "sh" | | lang = "sh" | ||
}} | }} | ||
Line 830: | Line 830: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The changes in the new repository will be visible via the web interface at {{#tag:span|{{#tag:tt|{{#tag:nowiki|{{ | The changes in the new repository will be visible via the web interface at {{#tag:span|{{#tag:tt|{{#tag:nowiki|{{sourceforge url|user=<username>|repo=code-<aircraft>|branch=master}}}}}}| style="color: blue"}}. | ||
=== Sending external git repository changes into FGAddon === | === Sending external git repository changes into FGAddon === | ||
Line 992: | Line 992: | ||
Finally, set up the remote git repository as a remote: | Finally, set up the remote git repository as a remote: | ||
{{#tag:syntaxhighlight| | {{#tag:syntaxhighlight| | ||
$ {{ | $ {{sourceforge url|cmd=git remote add|opt=origin|protocol=ssh|login=<username>|user=<username>|type=git|repo=code-ornithopter}} | ||
| lang = "sh" | | lang = "sh" | ||
}} | }} | ||
Line 1,007: | Line 1,007: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The repository will be located at {{#tag:span|{{#tag:tt|{{#tag:nowiki|{{ | The repository will be located at {{#tag:span|{{#tag:tt|{{#tag:nowiki|{{sourceforge url|user=<username>|repo=code-ornithopter|branch=master}}}}}}| style="color: blue"}}. Note that the git-svn information stored in the <code>.git/svn</code> directory will not be pushed to remote SoureForge repository, and therefore the link back to FGAddon will only be present in the local copy of the team leader. The git-svn link can be re-established at a later point if necessary. | ||
===== Team setup ===== | ===== Team setup ===== |