Tuesday, 26 April 2016

Git vs. SVN


DISTRIBUTED vs. CENTRALIZED
  • Git is distributed
  • SVN is centralized versioning system.

AVAILABILITY
  • If you cannot reach SVN server, you cannot commit the code.
  • In Git, local copy on your system is the repository and you can commit to it - Local Source Control

COMPLEXITY
  • Git is complex to use : 
    • "git clone" provides checkout of repository code
    • "git checkout" switches the branch
    • "git commit" commits teh code locally
  • SVN is much simpler to learn

FAST
  • Git is faster than SVN

USAGE
Git is preferred :  
  • When developers do not commit to master repository too often.
  • need better support for merging and branching.
  • for Open source projects
    • Fork the project for yourself
    • Commit the changes to your Fork
    • Ask the project owner to pull your changes

No comments:

Post a Comment

Note: only a member of this blog may post a comment.