Git: How to enforce a Work Item Linkage Check in Policy in VSTS Git?

后端 未结 1 855
野趣味
野趣味 2021-01-27 17:35

I wanted to apply a check in policy in VSTS Git in which whenever a new check in is happening there should be check in policy in which work item linkage is mandatory.

I

相关标签:
1条回答
  • 2021-01-27 18:22

    For git, you can use branch police to check for linked work items.

    Instead of pushing change to the target branch directly, you can checkout a source branch from the target branch. Make changes on the source branch. When you create a PR to merge the changes from source branch into target branch, the pull request will check the linked work items before merging.

    0 讨论(0)
提交回复
热议问题