+ All Categories
Home > Software > Git vs svn

Git vs svn

Date post: 15-Apr-2017
Category:
Upload: rupesh-kumar
View: 169 times
Download: 0 times
Share this document with a friend
15
Git vs SVN By Rupesh Kumar
Transcript
Page 1: Git vs svn

Git vs SVNBy

Rupesh Kumar

Page 2: Git vs svn
Page 3: Git vs svn
Page 4: Git vs svn

GIT vs SVN -- Pictorial

Page 5: Git vs svn

Another View

Page 6: Git vs svn

Git vs SVN• Git has a distributed model• Every user has their own

copy of code on their local, basically like their own branch.

• Keep making changes and when you are satisfied merge it to your master.

• Master is on your local, so changes stay on your local.

• If you have a remote link like a GitHub repo...push changes on your master to that.

● SVN has a centralized model● Everyone has a working copy

and changes are committed to a central repository

● There's not much to say about it....you guys know it all.

Page 7: Git vs svn

• That said...local copy of code means speed.

• Basic operations like diff, commit, status etc. Become ultra fast.

• In SVN such operations occur in the central repository...that is you connect to your server for such operations.

● Fast● Excellent for large open source projects● Feature rich● Branching and merging is what Git does best

Page 8: Git vs svn

Git is faster than SVN• Git is extremely fast. No network latency involved.

● Perform a diff.● View file history.● Commit changes.● Merge branches.● Obtain any other revision of a file● Switch branches.

Page 9: Git vs svn

SVN eats up a lot of space unlike Git• Git's repository and working directory sizes are extremely small when

compared to SVN.

• An SVN working directory always contains two copies of each file: one for the user to actually work with and another hidden in .svn/ to aid operations such as status, diff and commit.

• A Git working directory requires only one small index file that stores about 100 bytes of data per tracked file.

Page 10: Git vs svn

Stuck up with two girlfriends, Git can help you out.Branching and merging was never easier before.

Page 11: Git vs svn

That's SVN.

Page 12: Git vs svn

GIT vs SVN market share

Page 13: Git vs svn

And lastly behold the GOD who made it all – Linus Torvalds (Creator of GIT)

Page 14: Git vs svn

Futher Read:• https://en.wikipedia.org/wiki/Git_(software)• https://git.wiki.kernel.org/index.php/GitSvnComparison

Page 15: Git vs svn

ThanksQuestions

???


Recommended