Fr/FGAddon: Difference between revisions

Jump to navigation Jump to search
728 bytes added ,  25 November 2015
→‎Pousser à FGAddon: Updated the section to match the recent English article change.
(→‎Obtenir les aéronefs: Added a section to cross link to Fr/Howto Installer un avion, to match the English article.)
(→‎Pousser à FGAddon: Updated the section to match the recent English article change.)
Line 995: Line 995:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
git svn rebase
git svn rebase
</syntaxhighlight>
Pour voire les commits dans la branche <code>master</code> qui ne sont pas dans la branche <code>fgaddon</code>, tapez un de:
<syntaxhighlight lang="bash">
git log HEAD..master
git log HEAD..master --pretty=oneline
</syntaxhighlight>
</syntaxhighlight>


Line 1,003: Line 1,009:
git cherry-pick <commit hash 3>
git cherry-pick <commit hash 3>
...
...
</syntaxhighlight>
Ou pour faire un «cherry-pick» d'un ensemble de commits:
<syntaxhighlight lang="bash">
git cherry-pick <commit hash 1>^..<commit hash 8>
</syntaxhighlight>
</syntaxhighlight>


Line 1,011: Line 1,022:
</syntaxhighlight>
</syntaxhighlight>


Envoyez les modifications à FGAddon et retourez à la branche master:
Envoyez les modifications à FGAddon, envoyez les modifications dans la branche git de <code>fgaddon</code> au dépôt git distant, et retourez à la branche master:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
git svn dcommit
git svn dcommit
git push
git checkout master
git checkout master
</syntaxhighlight>
Finalement faites un merge des commits de git svn avec leurs nouveaux hashes de la branche <code>fgaddon</code>, et envoyez tout au dépôt git distant:
<syntaxhighlight lang="bash">
git merge fgaddon
git push
</syntaxhighlight>
</syntaxhighlight>


Navigation menu