如何通过 tf 命令跟踪分支历史?

How to track the branched history through tf command?

我知道这可以通过 IDE 从这个 link

实现

不过,我想通过tf命令来实现。我试过 tf history,不是想要的结果。

您可能需要使用 tf branchs 命令而不是 tf history 命令来显示指定文件或文件夹的分支历史记录。

tf branches itemspec [/version:versionspec] [/collection:TeamProjectCollectionUrl] [/login:username,[password]]

更多详细信息,请参阅来自 MSDN 的 link:Branches Command