web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Azure DevOps Fork Repos between two Organization

Michael Ghebremedin Profile Picture Michael Ghebremedin 107

 

Azure DevOps Fork Repos between two Organization


This weekend I embarked on a topic a bit foreign to myself, on the surface seemed a bit simple.

The idea is to fork my Azure DevOps Repo to a different organization and push changes between them.


Bad news DevOps doesn’t allow to fork Repos to a different organization, you have only the capability to fork to a different Projects within the same Organization.

I’m pretty much sure there are so many other ways to solve this issue, but this is the one that I found to be easy to implement.


  1. Import Repo to the new Organization

    1. Remember here you have to generate a personal token to be able to import the Repo

    2. you have to be a member of the new organization as well

  2. This might take a few minutes depending on the size of your project, once its complete you will receive a confirmation email, or just refresh it after few minutes

  3. So far all looks good, you can clone the solution in your new Organization, branch and do all the amazing things that git provides.

    1. Few things to remember here:

      1. Your changes are merged in the master of your new organization

      2. Question is what can you do to push your changes from the new Organization to the to the Previous Organization where you have imported your repo?

The simplest way to do the synchronization is to configure your Git Repository Setting Remotes, I have included a screenshot 



This will give you the capability to push and fetch changes from the Organization that the code has been generated.


This was originally posted here.

Comments

*This post is locked for comments