gpt4 book ai didi

tfs - 无法使用 Visual Studio 代码连接到 tfvc

转载 作者:行者123 更新时间:2023-12-04 22:04:46 27 4
gpt4 key购买 nike

首先,我是编程新手。我学到了很多东西(感谢我的老师 :D),现在我和我的 2 个 friend 有一个共同的项目。我们认为我们可以使用 .ASP、jQuery、C#、sql 构建网页。我是前端人员,因此我使用 Visual Studio Code。我们有一个共同的vsts。我下载了最新版本的 visual studio code 和最新版本的 team services extension,红色的大量文档解释了我需要如何执行此操作。我收到此错误消息:(团队)未找到 Team Services 或 Team Foundation Server 存储库配置。确保您已打开包含存储库的文件夹。

请有人解释我如何连接。如果您制作一个简短快速的教程视频,我将不胜感激。我几乎可以做文档或教程中的所有事情,但现在,我真的不知道我在哪里。

提前感谢您的帮助! <3

最佳答案

首先你应该使用官方 Visual Studio Team Services Extension for Visual Studio Code 由微软发布。

它同时支持TFVCGIT 版本控制类型。

Clone your Git repository

With Git, the extension uses the remote origin of your repository to determine how to connect to Team Services (or your Team Foundation Server), in most cases you will need to have a Git repository already cloned locally. If you intend on cloning an existing repository, do so before proceeding. If you do not have a Git repository cloned locally but already have a Team Services account (or a Team Foundation Server instance), you may create a local repository (via git init) and once you set the "origin" remote for that local repository, the extension will detect the change to the remote and attempt to contact the Team Services account (or Team Foundation Server).

Create your TFVC workspace

With TFVC, the extension uses information about the current workspace to determine how to connect to Team Services (or your Team Foundation Server). Workspaces can be created using the Visual Studio IDE, Eclipse or with the JetBrains IDEs (e.g, Android Studio, IntelliJ).

Note: At this time, you will need to have a local TFVC workspace already available on your local machine. More information about the difference between the two types (and how to determine which one you're using) can be found here.

您还可以观看以下视频,以帮助您快速开始使用该扩展程序:

以上是针对windows机器的,如果你在Mac上工作,请看看这个answer .

关于tfs - 无法使用 Visual Studio 代码连接到 tfvc,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49988879/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com