GIT / SVN

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    GIT / SVN - Presentation Transcript

    1. >> GIT / SVN Referenten: Uwe Stühler & Torben Brodt Datum: 18.11.2008 Veranstalter: plista.com GmbH
    2. GIT / SVN: Inhalt 1. Vorteile von GIT 2. Demo 3. Frontends 4. Fragen
    3. Vorteile von GIT 1/4  Volle Historie Offline (Logs / Diffs)  Offline Commits  Lokale Branches  Viele nützliche git Tools ”in Farbe :)”  Trotzdem weniger Speicherplatz als ”checkout”
    4. Demo 2/4  Aller Anfang..  git svn clone https://svn2.host....YouFilter.PHP.Portal  Wundert euch nicht, dass das erste Klonen des SVN Repositories etwas länger dauert.  Um so mehr freuen wir uns, wenn wir die Dateigrößen betrachten. Vergleichen wir ein Projekt mit 2800 Revision. SVN Checkout meldet 45 MB - bei Git sind es nur 18 ;)
    5. Demo 2/4  Timeline (siehe Hashes)  git log  Jeder Benutzer besitzt eine lokale Kopie der gesamten Projektgeschichte. Es ist kein zentraler Server notwendig. Mit SVN kann man lediglich die letzte Revision einer Datei wiederherstellen.  Weil Git außerdem mit Kompression arbeitet macht die Dateigröße einer kompletten Historie oft nur einen Bruchteil der Größe eines SVN Checkouts aus.
    6. Demo 2/4  Changeset betrachten  git show 345afh5
    7. Demo 2/4  Neue Datei hinzufügen  git add  Mit Git fügt man jede Datei die commitet werden soll mit add hinzu.
    8. Demo 2/4  Lokalen Commit durchführen  git commit -a  Um alle versionierten Dateien automatisch zu commiten setzt man den Parameter -a
    9. Demo 2/4  Alle lokalen Commits an SVN senden  git svn dcommit
    10. Demo 2/4  Updates vom SVN Server laden  git svn fetch
    11. Demo 2/4  Weitere Befehle  git --help  git status  git grep 'getInstance()'  git branch  git checkout
    12. Demo 2/4  Nützliche Konfiguration  git config --global color.diff auto  git config --global color.status auto  git config --global color.branch auto  Alias für svn update / git update  git config --global alias.update 'svn fetch'
    13. Frontends 3/4  Commandline ;)  git-cvsserver (kommt mit git)  egit (eclipse): http://git.or.cz/gitwiki/EclipsePlugin  \"Some tests have been performed using both Cygwin and MSYS git. Both have issues that we need both feedback and patches for.\"  Windows Explorer Integration / Git Cheetah, http://repo.or.cz/w/git-cheetah.git/  \"do not expect anything to work\"
    14. Fragen 4/4
    15. Literatur 4/4  Informationen zu Git und Git-Svn  http://git.or.cz/course/svn.html  http://linux.yyz.us/git-howto.html

    + Torben BrodtTorben Brodt, 2 years ago

    custom

    2199 views, 0 favs, 0 embeds more stats

    GIT bietet
    * Gesamte Versionshistorie
    * Schneller / more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 2199
      • 2199 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 12
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories