Upload
webholics
View
560
Download
0
Tags:
Embed Size (px)
Citation preview
Session Barcamp Stuttgart 2010
Mario Volke (@webholics)
licensed under Creative Commons Attribution-Non Commercial-Share Alike 3.0
VCS?Subversion
CVS Perforce
Git!
Mercurial
Bazaar
Darcs
VCS?Subversion
CVS Perforce
Git!Mercurial
Bazaar
Darcs
GIT INSTALLIEREN
•Mac
$ sudo port install git-core
• Ubuntu
$ sudo apt-get install git-core
•Win (really?)http://code.google.com/p/msysgit
CENTRALIZEDwie CVS, Subversion, etc.
DECENTRALIZEDwie 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
BRANCHEin Branch ist nur ein Pointer
Centralized Workflow
Integration-Manager Workflow