22
© 2014 Michael van Engelshoven

Einstieg in git

Embed Size (px)

Citation preview

Page 1: Einstieg in git

© 2014 Michael van Engelshoven

Page 2: Einstieg in git

Git ([ɡɪt], engl. Blödmann) ist eine zur verteilten

von , dieursprünglich für die -

Verwaltung des entwickeltwurde.

freieSoftware

Versionsverwaltung DateienQuellcode

Linux-Kernels

– Wikipedia

Page 3: Einstieg in git

Was unterscheidet Git zuSubversion?

Page 4: Einstieg in git

Verteiltes Repository

Page 5: Einstieg in git

Directed Acyclic Graph

Page 6: Einstieg in git

SHA169097d48ff3b2bc791c80bf0d96c9e911408af83

Page 7: Einstieg in git

Commit-Objektcommit 69097d48ff3b2bc791c80bf0d96c9e911408af83Merge: 2589f6 b9ebddTree: d8329fAuthor: Michael van Engelshoven <[email protected]>AuthorDate: Fri Feb 28 13:37:13 2014 +0100Commit: Michael van Engelshoven <[email protected]>CommitDate: Fri Feb 28 13:37:13 2014 +0100

Merge remote-tracking branch 'origin/master' into responsive Conflicts: .gitignore .idea/workspace.xml index.html

Page 8: Einstieg in git
Page 9: Einstieg in git
Page 10: Einstieg in git

Typische Operationenam Whiteboard

Page 11: Einstieg in git

Die Stageoder auch Index, oder auch Cache

Page 12: Einstieg in git

Der Commit

Page 13: Einstieg in git

Branches und Checkout

Page 14: Einstieg in git

Merge Commits

Page 15: Einstieg in git

Rebase

Page 16: Einstieg in git

Daten vom Remotepullen

Page 17: Einstieg in git

Daten an Remote pushen

Page 18: Einstieg in git

Tags

Page 19: Einstieg in git

ProtokolleLocalSSHGit-ProtokollHTTP

Page 20: Einstieg in git

Wichtig! Benutzer und E-Mailadresse setzen

$ git config --global user.name "Your Name Here"

# Sets the default name for git to use when you commit

git config --global user.email "[email protected]"

# Sets the default email for git to use when you commit

Page 21: Einstieg in git

Spielwiese!kleines Hands-On auf der Konsole

Page 22: Einstieg in git

ReferenzenGit auf WikipediaJessica Kerr - Git HappensMichael Schwern - Git For Ages 4 And UpPro Git bookGit ReferenceGithub Hilfe