简体   繁体   English

无法在VSTS上执行TFVC到GIT的导入

[英]Unable to perform TFVC to GIT import on VSTS

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. 我试图在VSTS中创建空的GIT存储库后,使用可用的“从TFVC导入”功能将特定的TFS分支(无历史记录)导入GIT。 The error I am getting is: 我得到的错误是:

There is no item in the given path which can be imported

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. VSTS将我重定向到https://go.microsoft.com/fwlink/?linkid=839462,但没有此错误的描述,这是一般的导入指南。

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

What can I do to perform the import using the import tool? 如何使用导入工具执行导入?

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存储库,那里有TFS分支,将其连接到新创建的远程存储库,然后将所有内容推送到那里?

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. 如果您只需要技巧,则可以克隆空的Git存储库,从TFVC添加文件,然后使用标准Git命令推送存储库。 Or you can git init a new local repo, add a remote pointing to your empty repo, and push that way. 或者,您可以git init一个新的本地仓库,添加一个指向空仓库的远程指向,然后以这种方式推送。

No need for the import tool. 无需导入工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM