Tuesday, September 13, 2016

Code Review in TFS vs. Git

If you are currently using Git with Team Foundation Server or Visual Studio Online, you may be wondering how the process of Code Reviews differs between the 2 source control platforms.

Well, they differ remarkably!

In fact, if you compare the TFS Code Review solution side-by-side with the Git Code Review solution, the TFS Code Review solution is FAR better and much more intuitive to use than the Git Code Review process.

Get your code reviewed with Visual Studiohttps://www.visualstudio.com/en-us/docs/tfvc/get-code-reviewed-vs

With TFS Code Reviews, you can easily review any set of code that exists in the TFS Repository which is extremely convenient!

However, with Git Code Reviews, you have to create feature branches and then create "Pull Requests" in order to get code reviewed before it is merged back into the main branch:

Review code with pull requestshttps://www.visualstudio.com/en-us/docs/git/pull-requests

Ideally, Microsoft would make the process of performing Code Reviews IDENTICAL between using Git or TFS Source Control!

If you also believe that Microsoft should make these 2 completely disparate processes consolidated within the Visual Studio IDE regardless of which source control system the developer is using, then you should vote for this UserVoice item here: https://visualstudio.uservoice.com/forums/121579-visual-studio-2015/suggestions/16046128-make-git-code-reviews-more-like-tfs-code-reviews

No comments:

Post a Comment