有没有办法指定在使用 VSTS web api/interface 时应解决合并冲突 "as ours"?

Is there a way to specify that the merge conflict should be resolved "as ours" when using VSTS web api/interface?

这个post的灵感来源于https://blogs.msdn.microsoft.com/oldnewthing/20180316-00/?p=98255,具体是patch分支需要合并到feature分支的部分"as ours"。

VSTS web界面这里好像没有提供任何拨号,只能说:

但也许还有可能​​?是否有允许它的配置选项,或者也许可以通过 REST API?

Pull Request Merge Conflict Extension 测试过,对我有用。

另一个解决方法是解决与 Visual Studio 的冲突(首先在本地查看 Resolve merge conflicts) or Resolve Command,然后合并请求。

另一个线程供您参考: