The huge news today was that the TFS team haveÂ embracedÂ git to a crazy level. TheÂ announcementÂ can be read over at Brian Harryâ€™s blog. I havenâ€™t actually had a chance yet to use it but from what I can see git is a first class citizen in the TFS environment. Anything you could do with TFS source control you should be able to do now with git. This includes things like linking checkins to issues and sending git commits for code review.
At first glance that seems weird because what is TFS if it isnâ€™t source control. Well TFS is a lot more than source control. People have watched TFS grow out of Visual Source Safe and have assumed that it is just a continuation of the source control only tool which was VSS. TFS is actually a whole ecosystem of tools related to the lifecycle of software. There are code review tools, issue management tools, backlog management tools. There is even a really sweet stakeholder feedback system which is aÂ phenomenalÂ tool that doesnâ€™t get anywhere near the love it deserves. A couple of years ago I would never have said this but TFS is a pretty amazing tool. I actually have a draft blog post somewhere where I complained about TFS at length. Since I wrote it 2 years ago almost every one of myÂ complaintsÂ has been addressed. The only one outstanding after this git thing is around the use of WF in the build set up.
TFS is going to continue to have the TFVC source control engine available to you, should you want it. Iâ€™m not sure who is going to be using it or what advantages Microsoft see it having. In my mind TFVC is to the git backend as Silverlight is to HTML5. It is the 6th Sense of source control: dead but it doesnâ€™t know it yet.
Iâ€™ve used a lot of source control systems over the years(CVS, Subversion, Perforce, Mercurial, VSS, Harvest, ClearCase,â€¦(yikes, Iâ€™m old)) and I can honestly say that git is the best of them. However there is a pretty big learning curve with git and git certainly provides sufficient rope to hang yourself with enough left over to hang your extended family. Iâ€™m always cautious when one technology is adopted by all the players in a field as â€œthe right wayâ€. No problem with the complexity of source control can be fully solved and if you think it can then you donâ€™t understand the problem.
My concern is that all the major source control players will start doing things the git way and weâ€™ll become entrenched in thinking that it is the only solution. Weâ€™ll spend the next 10 years digging our way out of the hole just as weâ€™ve done with IoC and ORMs.
Iâ€™m cautiously optimistic about the TFS approach to git. Git is better than TFVC but it doesnâ€™t follow that git is better than all comers. Keep watching out for innovations in source control, it isnâ€™t a solved problem.