Source Code Repository – GIT or TFVS?


Whenever I present TFS or Visual Studio Online (VSO), somebody asked me “how to choose the type of the sourcecode repository: GIT or TFVC?”.

The main difference is that TFVC is based on a central server while GIT is based on distributed databases. For GIT, there are also some limitations about the security to some part of code (folder, file, …).

Comparaison
More info on MSDN pages: http://tiny.cc/grizxx

Main TFVC advantages are:

  • Code is centralized on a server.
  • Security is more important: repository, folders, files.
  • Branching are used to manage releases and avoid risks.
  • Integrated since Visual Studio 2010.
  • Team can be small or large.

Main GIT advantages are:

  • Code is distributed on servers and all developers environments (PC).
  • Branching are fundamentally integrated in GIT process: light and used by all developers.
  • History is available offline.
  • Using many 3-tiers tools: TortoiseGit, GitHub, …
  • Team can be small or based on “Open source” philosophy (but not adapted for large team… in this case, you must split your large team to multiple small teams).
Advertisements
Posted in Uncategorized
2 comments on “Source Code Repository – GIT or TFVS?
  1. netcpe says:

    Also a nice addition is that GIT is really easier for branching strategies. See GitFlow http://nvie.com/posts/a-successful-git-branching-model/.

  2. Yes, indeed, but too many branches can generate a management complexity.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow me
   RSS Feed    Twitter    Linked In

Write you email address to subscribe at this blog and to receive new posts by mail.

Join 567 other followers

Who I am?






%d bloggers like this: