如何在没有 Azure Repo 的情况下在 Visual Studio 代码中连接 TFS

How to connect TFS in Visual Studio code without Azure Repo

我刚刚在 angular 8 开始了我的工作项目。我对 angular 很陌生。我被建议使用 VS code 进行开发。我已成功执行初始安装,还成功构建了几个 html 页面。现在我想把所有的开发工作都交给tfs..

我做了很多研究,所有文章都建议使用 Azure Repo。我的工作没有 Azure Repo。所以我的问题是,是否有任何其他方法可以从 Visual Studio 代码连接到 TFS。以及如何使用建议的方法连接到 TFS。

Team Foundation Server、Azure DevOps Server、Azure DevOps Services、Visual Studio Team Services 在不同的时间点和托管在不同的位置时本质上是相同的东西。技术是一样的。 Azure Repos 是这些产品中 Git 和 TFVC 存储库的 'new' 独立名称。它也是 VSCode 的扩展名称,用于连接到 Git 是这些产品中的 TFVC 存储库。命名不是微软最著名的技能。

如果您的 TFS 服务器配置为使用 Git,您将不需要任何扩展,git 支持内置于 vscode。 Azure Repos 扩展将在 Visual Studio 代码中添加 Pull Request 支持,但这不是必需的。

如果您的 TFS 服务器配置为使用 TFVC(Team Foundation 版本控制),您将需要安装 Azure Repos 扩展以及 Team Explorer 2019 或 Team Explorer Everywhere。

博客 post 下方所有指向下载位置的链接: