[英]Import GIT Repository to TFS on Visual Studio Online
I'm trying import a what was a Mercurial Repository that has been imported to a GIT repository. 我正在尝试导入什么是已经导入到GIT存储库的Mercurial存储库。 I started this project almost a year ago that prompted the following thread: Importing Mercurial... but it got shelved I'm trying to pick back up and am where I'm trying to Import from Gitblit to TFS.
我在大约一年前开始了这个项目,并提示了以下线程:Import Mercurial ...,但被搁置了,我试图重新安装,并且在这里尝试从Gitblit导入到TFS。
I've created a folder and cloned the TFS folder using git-tfs and then ran the "git add remote origin http://..." pointing to the local git-blt server. 我创建了一个文件夹,并使用git-tfs克隆了TFS文件夹,然后运行“ git add remote origin http:// ...”,指向本地git-blt服务器。
When I run the "git pull origin master" command I get "fatal: Couldn't find remote ref master" I've tried "master", "default", "head" all with a similar result. 当我运行“ git pull origin master”命令时,我得到“致命的:找不到远程引用主机”,我已经尝试过“ master”,“ default”,“ head”,结果都差不多。
This is a very simple repository that does not have any "branches" in it. 这是一个非常简单的存储库,其中没有任何“分支”。 It was simply used for version control and historical reference.
它仅用于版本控制和历史参考。 Is there some step I need to do to "create" a branch or something?
我需要执行一些步骤来“创建”分支或其他内容吗?
Refer to these steps blow to use VS 2015 to achieve your requirement: 请参考以下步骤以使用VS 2015来满足您的要求:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.