Two repo movement

Vineet S 1,390 Reputation points
2024-10-16T20:16:07.07+00:00

Hi If we can have two repo then how we can send changes from one repo to another using dev ops.. Pls share screenshot

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,639 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 33,631 Reputation points Volunteer Moderator
    2024-10-16T22:08:46.5266667+00:00

    If you only want to copy specific changes from one branch in a repository to another, you can use the cherry-pick feature in Azure DevOps. This allows you to select specific commits and apply them to a branch in another repository. This method is useful when you want to port a bug fix or feature without merging all changes.

    If you need to move an entire repository, including its full history, you can clone the source repository using the --mirror flag and push it to a new repository in Azure DevOps. This approach ensures that all branches and tags are preserved in the new repository.

    If you need to work with multiple repositories in a DevOps pipeline, you can configure your YAML file to check out multiple repositories. This is particularly useful when you need to integrate changes from multiple sources during a build or deployment process..

    Links to help you :

    https://learn.microsoft.com/en-us/azure/devops/repos/git/cherry-pick?view=azure-devops

    https://learn.microsoft.com/en-us/azure/devops/repos/git/move-git-repos-between-team-projects?view=azure-devops

    https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/multi-repo-checkout?view=azure-devops

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.