提交后提交的消息未显示

时间:2017-09-29 11:54:10

标签: tfs visual-studio-code vscode-settings

我在提交完成后没有显示提交消息时遇到一些问题。它只显示我是否在TFS中关联了一个工作项。

当我从TFS添加关联的工作项,评论和提交时,VS代码中的输出显示了这一点:

tf checkin -noprompt -collection:https://domain ******** 
/Users/Repos/Main/Frontend/grid.jade -comment: #148 - test commit message -associate:148
Changeset 140 checked in.

虽然这是我不关联工作项时输出在输出中的显示方式:

tf checkin -noprompt -collection:https://domain ******** 
/Users/Repos/Main/Frontend/grid.jade
Changeset 141 checked in.

提交评论消失了。如果有人得到了解决方案我会很感激:-)

提交注释与提交相关非常重要,我不想将每个次要提交与TFS中的工作项相关联。

我的规格: HW:Mac OSX - 10.12.6 SW:Visual Studio Code - 1.16.1

我们使用Visual Studio Team Services(TFS)

1 个答案:

答案 0 :(得分:1)

我可以重现此问题,无法使用changeset提交评论。似乎Visual Studio Team Services Extension for Visual Studio Code或Visual Studio代码本身有问题。

我已经为您提交了反馈,请在此处跟踪:https://developercommunity.visualstudio.com/content/problem/123402/vscode-comments-cannot-be-submitted-with-changeset.html

目前,作为一种变通方法,您可以将Visual Studio与Team explorer一起使用以通过注释检入更改。

或者,使用tf checkin命令直接签到:

tf checkin -noprompt -comment:"test commit message"
相关问题