无法使用 visual studio 代码连接到 tfvc
Can not connect to tfvc with visual studio code
首先,我对编程很陌生。我学到了很多东西(感谢我的老师 :D),现在我和我的 2 个朋友有一个共同的项目。我们认为我们可以使用 .ASP、jQuery、C#、sql 构建网页。我是前端人员,因此我使用 Visual Studio 代码。我们有一个共同的vsts。我下载了最新版本的 visual studio 代码和最新版本的团队服务扩展,红色的大量文档解释了我需要如何执行此操作。我收到此错误消息:
(团队)未找到 Team Services 或 Team Foundation Server 存储库配置。确保您已打开包含存储库的文件夹。
请有人解释我如何连接。如果您制作一个简短快速的教程视频,我将不胜感激。我几乎可以做任何文档或教程,但现在,我真的不知道我在哪里。
在此先感谢您的帮助! <3
首先你应该使用微软发布的官方Visual Studio Team Services Extension for Visual Studio Code。
它同时支持TFVC和GIT版本控制类型。
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.
您还可以观看以下视频,以帮助您快速开始使用该扩展程序:
- Set up the Team Services extension for Visual Studio Code - 如果
你以前没有使用过这个扩展,这个视频会告诉你如何
要设置它,请创建个人访问令牌并起床 运行.
- Visual Studio 的团队服务扩展演练
代码 - 这是对团队大部分功能的演练
服务扩展。
- TFVC Source Code Control for Visual Studio Code - 这个视频显示
你如何在 Windows 上设置 TFVC 支持并演示了很多
可用于 Team Foundation 版本控制的功能。
以上是针对windows机器的,如果你在Mac机器上工作,请看看这个.
首先,我对编程很陌生。我学到了很多东西(感谢我的老师 :D),现在我和我的 2 个朋友有一个共同的项目。我们认为我们可以使用 .ASP、jQuery、C#、sql 构建网页。我是前端人员,因此我使用 Visual Studio 代码。我们有一个共同的vsts。我下载了最新版本的 visual studio 代码和最新版本的团队服务扩展,红色的大量文档解释了我需要如何执行此操作。我收到此错误消息: (团队)未找到 Team Services 或 Team Foundation Server 存储库配置。确保您已打开包含存储库的文件夹。
请有人解释我如何连接。如果您制作一个简短快速的教程视频,我将不胜感激。我几乎可以做任何文档或教程,但现在,我真的不知道我在哪里。
在此先感谢您的帮助! <3
首先你应该使用微软发布的官方Visual Studio Team Services Extension for Visual Studio Code。
它同时支持TFVC和GIT版本控制类型。
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.
您还可以观看以下视频,以帮助您快速开始使用该扩展程序:
- Set up the Team Services extension for Visual Studio Code - 如果 你以前没有使用过这个扩展,这个视频会告诉你如何 要设置它,请创建个人访问令牌并起床 运行.
- Visual Studio 的团队服务扩展演练 代码 - 这是对团队大部分功能的演练 服务扩展。
- TFVC Source Code Control for Visual Studio Code - 这个视频显示 你如何在 Windows 上设置 TFVC 支持并演示了很多 可用于 Team Foundation 版本控制的功能。
以上是针对windows机器的,如果你在Mac机器上工作,请看看这个