5

有谁知道如何将在 git-tf checkin 命令上创建的自动生成的消息配置到 TFS?

我希望对此有更多控制权,以便在签入期间添加评论。

我公司使用的敏捷流程系统允许在注释前添加任务编号,然后将源代码与敏捷系统中的任务相关联。

有人有想法么?有人有任何定制的 git-tf 源吗?

4

1 回答 1

5

As mention in this thread, you can try!

I've upgraded to the latest version of git-tf and noticed that it generates a different comment for a tfs changeset after doing a checkin than the previous version (I'm using the --deep option, no message provided with the command).
Is there a way to revert to the 'clean' (without the commit guid, author, commiter) comment from git?

Yes, You can use the --no-metadata flag when checking in and it will revert back to the "clean" comment.

So you don't have much control on the comment, but at least you can reuse git comments.

There is a request for making that option the default.

于 2012-12-12T07:57:04.623 回答