Session Barcamp Stuttgart 2010

             Mario Volke (@webholics)



licensed under Creative Commons Attribution-Non Commercial-Share Alike 3.0
Git!



Mercurial                            Darcs



                   VCS?
                                        Bazaar
Subversion


             CVS          Perforce
Mercurial
               Git!              Darcs



                   VCS?
                                    Bazaar
Subversion


             CVS      Perforce
GIT LERNEN



• Pro Git
 Creative Commons eBook
 http://progit.org/
GIT INSTALLIEREN

• Mac

 $ sudo port install git-core


• Ubuntu

 $ sudo apt-get install git-core


• Win   (really?)
 http://code.google.com/p/msysgit
CENTRALIZED
wie CVS, Subversion, etc.
DECENTRALIZED
  wie Git, Mercurial, etc.
CORE FEATURES


• Snapshots, keine   Diffs

• meist   lokale Operationen

• Integrität   (SHA-1)

• exzellentes   Branching & Merging
Die 3 lokalen States
JETZT GEHT‘S LOS
UNSER ERSTES REPO


• Repo   init und erster commit:
 $   mkdir repo
 $   cd repo
 $   git init
 $   touch README
 $   git add README
 $   git commit -m “initial commit“
GITHUB


• Social   Repository Hosting

• Puplic   Hosting umsonst

• push   & pull
GITOSIS


• Vereinfachtes   User- und Rechtemanagement

• Zentralisierter Workflow     (ähnlich wie bei Subversion)

• Konfiguration    über gitosis-admin.git
DEMO / DISKUSSION
SVN UND CO.
  speichern von diffs
GIT SNAPSHOTS
BRANCH
Ein Branch ist nur ein Pointer
Centralized Workflow
Integration-Manager Workflow

Git barcamp stuttgart_2010