在我们的单一 Azure DevOps 组织中,我们有两个独立的团队项目(我们称它们为 Staging 和 Prod)。目前,两个团队项目代码库几乎相同。但是,我们决定使用 Staging 来开发和测试我们所有的更改,并且一旦成功验证,我们就会将代码推广/合并到 Prod 团队项目中。
例如:
[[ Staging Team Project ]]
File A - v1.1 - (latest changes, tested, verified and ready for promotion to Prod.)
File B - v3.2 - (latest changes, tested, verified and ready for promotion to Prod.)
[[ Prod Team Project ]]
File A - v1.0 - (last release currently in Live.)
File B - v3.1 - (last release currently in Live.)
以上面为例,有没有一种方法可以将 Staging 团队项目中的两个文件的代码升级/合并到 Prod,或者是我们唯一的选择在外部执行手动合并,使用 Beyond Compare 之类的东西,然后检查合并到 Prod 存储库?