2019 Visual Studio new git 体验界面如何添加要提交的工作项

How to add work item to commit in new git experience interface in new Visual Studio 2019

Visual Studio 2019 版本 16.8.3 的快速问题,如何将工作项连接到新的 git 更改选项卡中的提交?我真的很难使用这个新的 git 经验。我可以在团队资源管理器中看到我的工作项,但不知道如何将此工作项添加到这个新界面中的提交中。通常,在之前的版本提交文件时,会有一个添加相关工作项的按钮。请有人帮助我吗?

it look like you can just use hashtag '#' in commit message,

这是推荐的语法。
示例:

Fix a bug #1234

那会 actually close the work item

在“Drive Git development from a work item”查看更多内容 您可以 link 提交一个工作项,但也可以提交其他对象:

The link types you can add within the development section are Branch, Build, Changeset, Commit, Found in build, Integrated in build, Pull Request, and Versioned Item.

您还可以关闭新 Git 功能的预览。 工具 => 选项 => 搜索预览 => 复选框

settings

如果您喜欢预览版,当然可以继续使用它。 就个人而言,我并没有真正挖掘它。

MSblogPostAndReasons

看起来关闭可怕的“新 git 体验”的选项从 VS2022 中消失了。而且仍然没有像在团队资源管理器中那样添加 DevOps 工作项的选项。

M$ 经常不倾听用户意见的另一个例子。