无法在VSTS上执行TFVC到GIT的导入 [英] Unable to perform TFVC to GIT import on VSTS

查看:54
本文介绍了无法在VSTS上执行TFVC到GIT的导入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在VSTS中创建空的GIT存储库后,使用从TFVC导入"功能将特定的TFS分支(无历史记录)导入GIT.我收到的错误是:

I am trying to import a specific TFS branch (without history) to GIT using "Import from TFVC" function available after creating an empty GIT repository in VSTS. The error I am getting is:

在给定的路径中没有可以导入的项目

VSTS将我重定向到 https://go.microsoft.com/fwlink/?linkid= 839462 ,但没有此错误的描述,它是一般的导入指南.

VSTS redirects me to https://go.microsoft.com/fwlink/?linkid=839462 but there is no description of this error, it's a general import guide.

我在导入过程中引用的分支有很多项目,大小约为500MB(这是我将分支提取到一个空文件夹后在磁盘上的大小).

The branch I am referencing during the import has many projects and is about 500MB in size (this is the size on disk after I fetch the branch to an empty folder).

我该怎么做才能使用导入工具执行导入?

What can I do to perform the import using the import tool?

如果失败,是否可以在我有TFS分支的磁盘上简单地创建本地GIT存储库,将其连接到新创建的远程存储库并将所有内容推送到那里?

If this fails can I simply create a local GIT repo on my disk, where i have the TFS branch, connect it to the newly created remote repo and push everything there?

推荐答案

如果只需要技巧,则可以克隆空的Git存储库,添加TFVC中的文件,然后使用标准Git命令推送存储库.或者,您可以 git init 一个新的本地存储库,添加指向空存储库的远程指针,然后以这种方式进行推送.

If all you need is the tip, you can clone your empty Git repo, add the files from TFVC, and push the repo using standard Git commands. Or you can git init a new local repo, add a remote pointing to your empty repo, and push that way.

不需要导入工具.

这篇关于无法在VSTS上执行TFVC到GIT的导入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆