在VSTS上归档存储库 [英] Archiving a repository on VSTS

查看:62
本文介绍了在VSTS上归档存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个最初是在.NET Framework中构建的应用程序,我们通过VSTS上的存储库对其进行管理.

We have an app that was originally built in .NET Framework and we manage it through a repository on VSTS.

我们现在将其转换为.NET Core,我想使用在.NET Framework版本中使用的原始名称在VSTS上为其创建一个新的存储库.我也确实想保留/存档原始存储库.

We now converted it to .NET Core and I want to create a new repository for it on VSTS using the original name we used for the .NET Framework version. I also do want to keep/archive the original repository.

  • 是否可以在VSTS上归档存储库?
  • 如果我重命名旧仓库并使用原始名称为我们的新代码创建一个新仓库,会不会引起冲突?

推荐答案

是否可以在VSTS上存档存储库?

Is there a way to archive a repository on VSTS?

否,由于VSTS上的存储库(TFVC/Git)已经是VSTS上托管的VCS(版本控制系统),因此您可以将自己视为已存档.

No, since repositories (TFVC/Git) on VSTS is already VCS (Version Control System) hosted on VSTS, you can treat itself as archived.

如果我重命名旧仓库,并使用以下代码为我们的新代码创建一个新仓库 原来的名称,会引起任何冲突吗?

If I rename the old repo and create a new one for our new code using the original name, would that cause any conflicts?

对于TFVC存储库,您无法重命名原始存储库.

For TFVC repo, you can’t rename the original repo.

对于Git回购,您可以重命名.并且,如果您随后创建了一个新的git repo名称作为起点名称,则不会有冲突.您只需要注意,使用原始存储库的构建定义将被更改为构建其他项目.

For Git repo, you can rename. And if you create a new git repo name it as the origin name afterwards, there has no conflicts. You just should note that the your build definition with the original repo will be changes to build other project.

这篇关于在VSTS上归档存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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