简体   繁体   English

将 Github Git 存储库迁移到 Azure DevOps TFVC

[英]Migrating Github Git repo to Azure DevOps TFVC

I have an existing repository on Github and want to move it to Azure DevOps, but I want to switch version control to TFVC.我在 Github 上有一个现有存储库,想将其移动到 Azure DevOps,但我想将版本控制切换到 TFVC。 Is there a good way to do this, and/or is it possible?有没有好的方法可以做到这一点,和/或有可能吗?

I tried using git-tf to check-in my git repository into Azure DevOps, but I keep getting an access denied error.我尝试使用 git-tf 将我的 git 存储库签入 Azure DevOps,但我不断收到拒绝访问错误。

Yes, it is possible.对的,这是可能的。 AFAIK, you can create a new project with TFVC as your version control system and then import your git repository there. AFAIK,您可以使用TFVC作为版本控制系统创建一个新项目,然后在那里导入您的 git 存储库。

新TFVC项目

As quoted in the docs , you might need to rework the permissions to enable access if the TFVC project has been there and was created prior to TFS 2015 Update 1.正如文档中所引用的,如果 TFVC 项目已经存在并且是在 TFS 2015 Update 1 之前创建的,则您可能需要重新修改权限以启用访问。

Also, as Daniel says, git-tf has reached its EOL, so it is recommended to go with git-tfs instead.另外,正如 Daniel 所说, git-tf已达到 EOL,因此建议改用git-tfs

Hope this helps!希望这可以帮助!

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

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