Reputation: 74250
Now that TFS 2013 supports git natively, how does one go about implementing a pull request policy / workflow - that is, mandating pull requests and code reviews to get code merged in?
Upvotes: 19
Views: 11097
Reputation: 114641
Pull requests are now supported in both TFS 2013 update 4 and in Visual Studio Online. Combined with removing the Push permission to certain branches, this effectively allows you to setup a policy.
For more advanced policy like features, you can use the ISubscriber interface to build a 'commit hook' until Microsoft fully implements such features. Read more here.
More information on Pull Requests can be found in this blog post from the Visual Studio team.
Upvotes: 29