Top Banner
SVN -> G i t Daniel Wieth
18

Comparison of SVN and Git

Feb 11, 2017

Download

Software

Daniel Wieth
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Comparison of SVN and Git

SVN -> G i tDaniel Wieth

Page 2: Comparison of SVN and Git

Classic (SVN)

21.02.2016

Page 3: Comparison of SVN and Git

Modern (Git, Mercurial)

21.02.2016

Page 4: Comparison of SVN and Git

Git

21.02.2016

• „… is a distributed revision control system with an emphasis on speed, data integrity, and support for distributed, non-linear workflows “ (Wikipedia)

• Linus Torvalds

• /ɡɪt/

• Initial release April 2005

Page 5: Comparison of SVN and Git

Commands: git …

21.02.2016

• init, clone, add

• commit

•branch, checkout, merge

•push, pull, fetch

Page 6: Comparison of SVN and Git

21.02.2016

4 layers

Page 7: Comparison of SVN and Git

Git vs. SVN

21.02.2016

Git SVN

small, fast well…

Distributed central

content hashes revision numbers

clone last revision

Page 8: Comparison of SVN and Git

21.02.2016

BRANCHING

Page 9: Comparison of SVN and Git

21.02.2016

MERGING

Page 10: Comparison of SVN and Git

Git Banches vs. SVN Branches

21.02.2016

Git SVN

clear semantics NO semantics

Pointer on a commit Folder

whole repository arbitrary subtree

Really fast well...

complete history is cloned local history

Page 11: Comparison of SVN and Git

Motivation

21.02.2016

•1 product

•multiple customers

•multiple releases

•multiple bugs!

Page 12: Comparison of SVN and Git

Git Flow

21.02.2016

Page 13: Comparison of SVN and Git

21.02.2016

Page 14: Comparison of SVN and Git

21.02.2016

Page 15: Comparison of SVN and Git

Pros

21.02.2016

• fast (local operations)

• safe / secure (= distributed backup)

•modern

• total freedom (self-organization)

Page 16: Comparison of SVN and Git

Cons

21.02.2016

• learning curve (?)• Git Flow…

• total freedom (??)

Page 17: Comparison of SVN and Git

Thank you!

21.02.2016

Page 18: Comparison of SVN and Git

Literature

21.02.2016

• Git vs SVN - Eine vergleichende Einführung (in German) http://de.slideshare.net/mariomueller/git-vs-svn-eine-vergleichende-einfhrung

• git - eine praktische Einführung (in German) http://de.slideshare.net/ephigenia1/git-praktische-einfhrung-13308756

• Git SCM https://git-scm.com/• A successful Git branching model http://nvie.com/posts/a-successful-git-

branching-model/• Git-Workflows: Der Gitflow-Workflow (Teil 1) (in German)

https://blog.seibert-media.net/blog/2014/03/31/git-workflows-der-gitflow-workflow-teil-1/

• Git (Wikipedia) https://en.wikipedia.org/w/index.php?title=Git_(software)&oldid=701764449