add zh_TW translation link

This commit is contained in:
tonypai 2014-12-31 12:40:51 +08:00
parent 54616460f2
commit 703225bdb0

View File

@ -30,10 +30,10 @@
<div id="banner"><a href="https://github.com/danielkummer/git-flow-cheatsheet">Fork me on GitHub</a></div> <div id="banner"><a href="https://github.com/danielkummer/git-flow-cheatsheet">Fork me on GitHub</a></div>
<header> <header>
<h1 id="title">git-flow Spickzettel</h1> <h1 id="title">git-flow cheatsheet</h1>
<p id="author"> <p id="author">
erstellt von <a href="http://twitter.com/0r1g4m14dd1c7">Daniel Kummer</a> created by <a href="http://twitter.com/0r1g4m14dd1c7">Daniel Kummer</a>
<a href="https://twitter.com/share" class="twitter-share-button" data-via="0r1g4m14dd1c7" data-size="large">Tweet</a> <a href="https://twitter.com/share" class="twitter-share-button" data-via="0r1g4m14dd1c7" data-size="large">Tweet</a>
<script>!function (d, s, id) { <script>!function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0]; var js, fjs = d.getElementsByTagName(s)[0];
@ -45,11 +45,12 @@
} }
}(document, "script", "twitter-wjs");</script> }(document, "script", "twitter-wjs");</script>
</p> </p>
<p id="desc">Effizientes Branching mittels git-flow von <a href="http://nvie.com/">Vincent Driessen</a></p> <p id="desc">efficient branching using git-flow by <a href="http://nvie.com/">Vincent Driessen</a></p>
<p id="translations">Übersetzungen: <p id="translations">translations:
<a href="index.html" title="English">English</a> - <a href="#" class="active" title="english">English</a> -
<a href="index.es_ES.html" title="Spanish">Castellano</a> - <a href="index.es_ES.html" title="spanish">Castellano</a> -
<a href="index.pt_BR.html" title="Brazilian Portugues">Brazilian Portugues</a> - <a href="index.pt_BR.html" title="Brazilian Portugues">Brazilian Portugues</a> -
<a href="index.zh_TW.html" title="Traditional Chinese">繁體中文(Traditional Chinese)</a> -
<a href="index.zh_CN.html" title="Simplified Chinese">简体中文(Simplified Chinese)</a> - <a href="index.zh_CN.html" title="Simplified Chinese">简体中文(Simplified Chinese)</a> -
<a href="index.ja_JP.html" title="日本語">日本語</a> - <a href="index.ja_JP.html" title="日本語">日本語</a> -
<a href="index.tr_TR.html" title="Turkce">Türkçe</a> - <a href="index.tr_TR.html" title="Turkce">Türkçe</a> -
@ -58,7 +59,7 @@
<a href="index.it_IT.html" title="Italiano">Italiano</a> - <a href="index.it_IT.html" title="Italiano">Italiano</a> -
<a href="index.nl_NL.html" title="Nederlands">Nederlands</a> - <a href="index.nl_NL.html" title="Nederlands">Nederlands</a> -
<a href="index.ru_RU.html" title="Russian">Русский (Russian)</a> - <a href="index.ru_RU.html" title="Russian">Русский (Russian)</a> -
<a href="#" class="active" title="German">Deutsch (German)</a> - <a href="index.de_DE.html" title="German">Deutsch (German)</a> -
<a href="index.ca_CA.html" title="Català">Català (Catalan)</a> <a href="index.ca_CA.html" title="Català">Català (Catalan)</a>
</p> </p>
</header> </header>
@ -67,36 +68,38 @@
<div class="scrollblock"> <div class="scrollblock">
<h2>Über</h2> <h2>About</h2>
<p> <p>
git-flow ist ein Set aus Git-Erweiterungen, welches komplexe Repository-Arbeiten git-flow are a set of git extensions to provide high-level repository operations for Vincent
nach Vincent Driessen's Branching-Modell ermöglicht. Driessen's branching model.
<small><a href="http://nvie.com/posts/a-successful-git-branching-model/">mehr</a></small> <small><a href="http://nvie.com/posts/a-successful-git-branching-model/">more</a></small>
</p> </p>
<p class="divider">&#9733; &#9733; &#9733;</p> <p class="divider">&#9733; &#9733; &#9733;</p>
<p>Dieser Spickzettel veranschaulicht die grundlegende Nutzung und den Ablauf von git-flow Operationen.</p> <p>This cheatsheet shows the basic usage and effect of git-flow operations</p>
<p class="divider">&#9733; &#9733; &#9733;</p> <p class="divider">&#9733; &#9733; &#9733;</p>
</div> </div>
<div class="scrollblock"> <div class="scrollblock">
<h2>Grundlegende Tipps</h2> <h2>Basic tips</h2>
<ul> <ul>
<li>git-flow bietet eine exzellente Hilfe und ausführliche Ausgabe auf der Kommandozeile. Lies dir die Ausgaben aufmerksam durch und versuche zu verstehen, was passiert.</li> <li>Git flow provides excellent command line help and output. Read it carefully to see what's happening...</li>
<li>Der OSX/Windows Client <a href="http://www.sourcetreeapp.com/">SourceTree</a> bietet ein exzellentes grafisches Interface und einfache Git-Flow Unterstützung.</li> <li>The OSX/Windows Client <a href="http://www.sourcetreeapp.com/">Sourcetree</a> is an excellent git gui and provides
<li>git-flow ist eine rein Merge-basierte Lösung (Zusammenführung). Es findet kein Rebasing der Feature-Branches (Entwicklungszweige) statt.</li> git-flow support
</li>
<li>Git-flow is a merge based solution. It doesn't rebase feature branches.</li>
</ul> </ul>
<p class="divider">&#9733; &#9733; &#9733;</p> <p class="divider">&#9733; &#9733; &#9733;</p>
</div> </div>
<div class="scrollblock"> <div class="scrollblock">
<h2><a name="setup" href="#setup">Einrichtung</a></h2> <h2><a name="setup" href="#setup">Setup</a></h2>
<ul> <ul>
<li>Du benötigst eine funktionierende Git Installation als Voraussetzung.</li> <li>You need a working git installation as prerequisite.</li>
<li>git-flow läuft unter OSX, Linux und Windows.</li> <li>Git flow works on OSX, Linux and Windows</li>
</ul> </ul>
<p class="divider">&#9733; &#9733; &#9733;</p> <p class="divider">&#9733; &#9733; &#9733;</p>
<div class="col-1"> <div class="col-1">
@ -118,11 +121,11 @@
$ wget -q -O - --no-check-certificate $ wget -q -O - --no-check-certificate
https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | bash https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | bash
</blockquote> </blockquote>
<p>Du benötigst wget und util-linux um git-flow zu installieren.</p> <p>You need wget and util-linux to install git-flow.</p>
</div> </div>
<div class="col-2"> <div class="col-2">
<p> <p>
Für eine detaillierte git-flow Installationsanleitung, besuche bitte das <a href="https://github.com/nvie/gitflow/wiki/Windows">git flow For detailed git flow intallation instructions please visit the <a href="https://github.com/nvie/gitflow/wiki/Windows">git flow
wiki</a>. wiki</a>.
</p> </p>
<img src="img/download.png" alt="install git-flow"/> <img src="img/download.png" alt="install git-flow"/>
@ -130,19 +133,19 @@
</div> </div>
<div class="scrollblock"> <div class="scrollblock">
<h2><a name="getting_started" href="#getting_started">Erste Schritte</a></h2> <h2><a name="getting_started" href="#getting_started">Getting started</a></h2>
<p>git-flow muss initalisiert werden, um das Projektsetup anzupassen.</p> <p>Git flow needs to be initialized in order to customize your project setup.</p>
<p class="divider">&#9733; &#9733; &#9733;</p> <p class="divider">&#9733; &#9733; &#9733;</p>
<div class="col-1"> <div class="col-1">
<h3>Initialisierung</h3> <h3>Initialize</h3>
<p>Fange an mit git-flow zu arbeiten, indem Du es innerhalb eines bestehenden Git-Repository initialisierst:</p> <p>Start using git-flow by initializing it inside an existing git repository:</p>
<blockquote> <blockquote>
git flow init git flow init
</blockquote> </blockquote>
<p> <p>
Dabei musst Du einige Fragen bezueglich der Namenskoventionen Deiner Branches (Entwicklungszweige) beantworten.<br/> You'll have to answer a few questions regarding the naming conventions for your branches.<br/>
Es wird empfohlen, die Standardwerte zu verwenden. It's recommended to use the default values.
</p> </p>
</div> </div>
@ -159,19 +162,19 @@
<h2><a name="features" href="#features">Features</a></h2> <h2><a name="features" href="#features">Features</a></h2>
<ul class="narrow"> <ul class="narrow">
<li>Entwicklung neuer Features für bevorstehende Releases.</li> <li>Develop new features for upcoming releases</li>
<li>In der Regel nur in Entwickler-Repositories zu finden.</li> <li>Typically exist in developers repos only</li>
</ul> </ul>
<p class="divider">&#9733; &#9733; &#9733;</p> <p class="divider">&#9733; &#9733; &#9733;</p>
<div class="col-1"> <div class="col-1">
<h3>Entwicklung neuer Features</h3> <h3>Start a new feature</h3>
<p>Neue Features werden vom 'develop'-Branch abgeleitet.</p> <p>Development of new features starting from the 'develop' branch.</p>
<p>Starte die Entwicklung eines neuen Features mittels</p> <p>Start developing a new feature with</p>
<blockquote> <blockquote>
git flow feature start MYFEATURE git flow feature start MYFEATURE
</blockquote> </blockquote>
<p>Dieser Befehl erstellt einen neuen Feature-Branch basierend auf 'develop' und wechselt in diesen.</p> <p>This action creates a new feature branch based on 'develop' and switches to it</p>
<!-- <!--
- Bump the version number now! - Bump the version number now!
@ -191,16 +194,16 @@
<div class="scrollblock"> <div class="scrollblock">
<div class="col-1"> <div class="col-1">
<h3>Fertigstellung eines Features</h3> <h3>Finish up a feature</h3>
<p> <p>
Beende die Entwicklung eines Features. Finish the development of a feature.
Dies führt zu folgenden Aktionen: This action performs the following
</p> </p>
<ul> <ul>
<li>Zusammenführen von MYFEATURE in den 'develop'-Branch (Merge-Prozess)</li> <li>Merged MYFEATURE into 'develop'</li>
<li>Entfernt den Feature-Branch</li> <li>Removes the feature branch</li>
<li>Wechselt zurück in den 'develop'-Branch</li> <li>Switches back to 'develop' branch</li>
</ul> </ul>
<blockquote> <blockquote>
@ -214,12 +217,11 @@
<div class="scrollblock"> <div class="scrollblock">
<div class="col-1"> <div class="col-1">
<h3>Veröffentlichen eines Features</h3> <h3>Publish a feature</h3>
<p> <p>
Entwickelst Du ein Feature in Zusammenarbeit? <br/> Are you developing a feature in collaboration? <br/>
Veröffentliche Dein Feature auf einem entfernten Server, Publish a feature to the remote server so it can be used by other users.
so dass es auch von anderen verfolgt werden kann.
</p> </p>
<blockquote> <blockquote>
@ -233,23 +235,17 @@
<div class="scrollblock"> <div class="scrollblock">
<div class="col-1"> <div class="col-1">
<h3>Holen eines veröffentlichten Features</h3> <h3>Getting a published feature</h3>
<p> <p>
Hole ein Feature, welches von einem anderen Nutzer veröffentlicht wurde. Get a feature published by another user.
</p> </p>
<blockquote> <blockquote>
git flow feature pull origin MYFEATURE git flow feature pull origin MYFEATURE
</blockquote> </blockquote>
<p> <p>You can track a feature on origin by using <code> git flow feature track MYFEATURE</code> </p>
Du kannst ein Feature unter Verwendung von
</p>
<blockquote>git flow feature track MYFEATURE</blockquote>
<p>
auf 'origin' verfolgen.
</p>
</div> </div>
<div class="col-2"> <div class="col-2">
<div class="feature-pull"></div> <div class="feature-pull"></div>
@ -258,41 +254,29 @@
<div class="scrollblock"> <div class="scrollblock">
<h2><a name="release" href="#release">Erstelle ein Release</a></h2> <h2><a name="release" href="#release">Make a release</a></h2>
<ul> <ul>
<li>Unterstützt die Fertigstellung einer Produktionsversion.</li> <li>Support preparation of a new production release</li>
<li>Erlaubt geringfügige Bugfixes und die Erstellung der Metadaten für ein Release</li> <li>Allow for minor bug fixes and preparing meta-data for a release</li>
</ul> </ul>
<p class="divider">&#9733; &#9733; &#9733;</p> <p class="divider">&#9733; &#9733; &#9733;</p>
<div class="col-1"> <div class="col-1">
<h3>Beginne ein Release</h3> <h3>Start a release</h3>
<p> <p>To start a release, use the git flow release command. It creates a release branch created from the 'develop' branch.</p>
Um ein neues Releases zu beginnen, benutze den git flow release Befehl.
Mit diesem wird ein Release-Branch vom aktuellen 'develop'-Branch erstellt.
</p>
<blockquote> <blockquote>
git flow release start RELEASE [BASE] git flow release start RELEASE [BASE]
</blockquote> </blockquote>
<p> <p>You can optionally supply a <code>[BASE]</code> commit sha-1 hash to start the release from. The commit must
Du kannst optional einen <code>[BASE]</code> Commit sha-1 Hash bereitstellen, be on the
um ein Release von diesem Commit zu starten. Der Commit muss sich im 'develop'-Branch befinden. 'develop' branch.</p>
</p>
<p class="divider">&#9733; &#9733; &#9733;</p> <p class="divider">&#9733; &#9733; &#9733;</p>
<p>It's wise to publish the release branch after creating it to allow release commits by other developers. Do it similar to feature publishing with the command:</p>
<p>
Es ist ratsam, den Release-Branch nach der Erstellung zu veröffentlichen und damit anderen Entwicklern
die Möglichkeit für Comitts zu geben. Mache es ähnlich wie bei einem Feature-Branch mit dem Befehl:
</p>
<blockquote> <blockquote>
git flow release publish RELEASE git flow release publish RELEASE
</blockquote> </blockquote>
<p> <p>(You can track a remote release with the <br/><code>git flow release track RELEASE</code> command)</p>
(Du kannst ein entferntes Remote-Release mittels <br/>
<code>git flow release track RELEASE</code> verfolgen.)
</p>
</div> </div>
<div class="col-2"> <div class="col-2">
<div class="release-start"></div> <div class="release-start"></div>
@ -301,22 +285,19 @@
<div class="scrollblock"> <div class="scrollblock">
<div class="col-1"> <div class="col-1">
<h3>Fertigstellung eines Releases</h3> <h3>Finish up a release</h3>
<p> <p>Finishing a release is one of the big steps in git branching. It performs several actions:</p>
Das Beenden eines Releases ist einer der größten Schritte im Git-Branching-Prozess.
Es bewirkt folgende Aktionen:
</p>
<ul> <ul>
<li>Zusammenführen des Release-Branches zurück in den 'master'-Branch. (Merge-Prozess)</li> <li>Merges the release branch back into 'master'</li>
<li>Markiert (Tagged) das Release mit seinem Namen</li> <li>Tags the release with its name</li>
<li>Zurückführen des Releases in den 'develop'-Branch (Merge-Prozess)</li> <li>Back-merges the release into 'develop'</li>
<li>Entfernt den Release-Branch</li> <li>Removes the release branch</li>
</ul> </ul>
<blockquote> <blockquote>
git flow release finish RELEASE git flow release finish RELEASE
</blockquote> </blockquote>
<p>Vergesse nicht Deine Tags mittels <code>git push --tags</code> zu pushen.</p> <p>Don't forget to push your tags with<code>git push --tags</code></p>
</div> </div>
<div class="col-2"> <div class="col-2">
@ -329,28 +310,19 @@
<h2><a name="hotfixes" href="#hotfixes">Hotfixes</a></h2> <h2><a name="hotfixes" href="#hotfixes">Hotfixes</a></h2>
<ul> <ul>
<li> <li>Hotfixes arise from the necessity to act immediately upon an undesired state of a live production version
Hotfixes werden notwendig, sobald ein unerwünschter Zustand innerhalb einer Live-Produktionsversion
eintritt und resultierend daraus, sofort gehandelt werden muss.
</li>
<li>
Ein Hotfix kann aus dem entsprechenden Tag des 'master'-Branches, welcher die Produktionsversion markiert,
direkt abgezweigt werden.
</li> </li>
<li>May be branched off from the corresponding tag on the master branch that marks the production version.</li>
</ul> </ul>
<p class="divider">&#9733; &#9733; &#9733;</p> <p class="divider">&#9733; &#9733; &#9733;</p>
<div class="col-1"> <div class="col-1">
<h3>git flow hotfix start</h3> <h3>git flow hotfix start</h3>
<p>Ähnlich wie auch die anderen git-flow Befehle, wird ein Hotfix mittels</p> <p>Like the other git flow commands, a hotfix is started with</p>
<blockquote> <blockquote>
git flow hotfix start VERSION [BASENAME] git flow hotfix start VERSION [BASENAME]
</blockquote> </blockquote>
<p> <p>The version argument hereby marks the new hotfix release name. Optionally you can specify a basename to start from.</p>
begonnen. Das VERSION-Argument markiert hierbei den neuen Hotfix-Release-Namen.
Optional kannst Du auch einen BASENAME spezifizieren.
</p>
</div> </div>
<div class="col-2"> <div class="col-2">
<div class="hotfix-start"></div> <div class="hotfix-start"></div>
@ -359,13 +331,9 @@
<div class="scrollblock"> <div class="scrollblock">
<div class="col-1"> <div class="col-1">
<h3>Fertigstellung eines Hotfixes</h3> <h3>Finish a hotfix</h3>
<p> <p>By finishing a hotfix it gets merged back into develop and master. Additionally the master merge is tagged with the hotfix version.</p>
Mit dem Beenden eines Hotfixes, wird dieser in den 'develop'- und 'master'-Branch
zusammengeführt (Merge). Nebenbei wird der 'master'-Branch mit einem Tag
welcher die Hotfix-Version beinhaltet markiert.
</p>
<blockquote> <blockquote>
git flow hotfix finish VERSION git flow hotfix finish VERSION
</blockquote> </blockquote>
@ -385,7 +353,7 @@
<div class="scrollblock"> <div class="scrollblock">
<h2><a name="commands" href="#commands">Befehle</a></h2> <h2><a name="commands" href="#commands">Commands</a></h2>
<img src="img/git-flow-commands.png" alt="git-flow commands"/> <img src="img/git-flow-commands.png" alt="git-flow commands"/>
</div> </div>
@ -393,10 +361,12 @@
<h2>Backlog</h2> <h2>Backlog</h2>
<p class="divider">&#9733; &#9733; &#9733;</p> <p class="divider">&#9733; &#9733; &#9733;</p>
<ul> <ul>
<li>Nicht alle verfügbaren Befehle sind hier abgedeckt, nur die wichtigsten.</li> <li>Not all available commands are covered here, only the most important ones</li>
<li>Du kannst weiterhin alle Git-Befehle normal nutzen, wie Du es gewohnt bist. Git-flow ist nur eine Werkzeugsammlung.</li> <li>You can still use git and all its commands normally as you know them, git flow is only a tooling
<li>Das 'support' Feature ist noch Beta und die Nutzung nicht empfohlen.</li> collection
<li>Wenn Du Übersetzungen beisteuern möchtest, würde ich mich freuen diese zu integrieren.</li> </li>
<li>The 'support' feature is still beta, using it is not advised</li>
<li>If you'd like to supply translations I'd be happy to integrate them</li>
</ul> </ul>
<p class="divider">&#9733; &#9733; &#9733;</p> <p class="divider">&#9733; &#9733; &#9733;</p>
</div> </div>
@ -406,7 +376,7 @@
<footer> <footer>
<div class="scrollblock"> <div class="scrollblock">
<h2><a name="comments" href="#comments">Kommentare</a></h2> <h2><a name="comments" href="#comments">Comments</a></h2>
<div id="disqus_thread"></div> <div id="disqus_thread"></div>
</div> </div>
@ -425,9 +395,9 @@
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})(); })();
</script> </script>
<noscript>Bitte aktiviere Javascript um die Kommentare zu sehen. <a href="http://disqus.com/?ref_noscript">Powered by Disqus.</a> <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a>
</noscript> </noscript>
<a href="http://disqus.com" class="dsq-brlink">Kommentare powered by <span class="logo-disqus">Disqus</span></a> <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</body> </body>