Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Visual Studio require a work item be linked to a git commit?

Using Visual Studio 2015, TFS 2015 and Git, is there any way to enforce or remind me to link a work item on check-in? Or is it possible in newer versions of VS / TFS? VS extension?

What I want:

Visual Studio Changes window

This has been asked before, but not in the past 2 years.

I will persue this option if there really isn't anything else available: Write a plugin: http://almsports.net/tfs-server-side-check-in-policy-for-git-repositories/1025/

like image 747
scw Avatar asked Jan 17 '17 16:01

scw


1 Answers

Seems you just want enforce commit policy in TFS with GIT repository, this is still not supported out of the box currently .

It is however on the product teams backlog and you could only use the Tfs-Git ProcessEvent hook just as the blog posted in your question for now.

like image 60
PatrickLu-MSFT Avatar answered Oct 18 '22 08:10

PatrickLu-MSFT