SOLVED

Migrate Azure Devops Project to another project in same Azure Devops Organization

%3CLINGO-SUB%20id%3D%22lingo-sub-2020505%22%20slang%3D%22en-US%22%3EMigrate%20Azure%20Devops%20Project%20to%20another%20project%20in%20same%20Azure%20Devops%20Organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2020505%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20know%20how%20to%20migrate%20azure%20devops%20project%20to%20another%20project%20within%20and%20outside%20Azure%20Devops%20organization%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2020505%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDevOps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2020755%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Azure%20Devops%20Project%20to%20another%20project%20in%20same%20Azure%20Devops%20Organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2020755%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F668973%22%20target%3D%22_blank%22%3E%40Sagar_Lad%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20don't%20think%20this%20feature%20is%20supported%20yet.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdevelopercommunity.visualstudio.com%2Fidea%2F365365%2Fmake-it-possible-to-move-a-team-project-between-te-1.html%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdevelopercommunity.visualstudio.com%2Fidea%2F365365%2Fmake-it-possible-to-move-a-team-project-between-te-1.html%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20might%20be%20able%20to%20use%26nbsp%3B%3CSPAN%3E%20Azure%20DevOps%20API%20but%20it%20requires%20a%20lot%20of%20work.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Fazure%2Fdevops%2F%3Fview%3Dazure-devops-rest-6.1%26amp%3BviewFallbackFrom%3Dazure-devops-rest-6.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Fazure%2Fdevops%2F%3Fview%3Dazure-devops-rest-6.1%26amp%3BviewFallbackFrom%3Dazure-devops-rest-6.0%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EDav%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2022010%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Azure%20Devops%20Project%20to%20another%20project%20in%20same%20Azure%20Devops%20Organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2022010%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F515007%22%20target%3D%22_blank%22%3E%40Dav1988%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BThanks%20for%20the%20update%20Dev%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2023694%22%20slang%3D%22es-ES%22%3ERe%3A%20Migrate%20Azure%20Devops%20Project%20to%20another%20project%20in%20same%20Azure%20Devops%20Organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2023694%22%20slang%3D%22es-ES%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F668973%22%20target%3D%22_blank%22%3E%40Sagar_Lad%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EThe%20steps%20involved%20are%20below.%3C%2FP%3E%3CP%3EAdd%20a%20User%20to%20Both%20Organization%20%3CBR%20%2F%3E%20Configure%20SSH%20Key%20Update%20the%20SSH%20Key%20in%20Source%20%3CBR%20%2F%3E%20DevOps%20and%20Clone%20the%20Repository%20%3CBR%20%2F%3E%20Check%20out%20all%20the%20Branches%20and%20Tags%20%3CBR%20%2F%3E%20Update%20the%20SSH%20Key%20in%20the%20Destination%20DevOps%20%3CBR%20%2F%3E%20Remove%20Old%20and%20Add%20New%20Origin%20Push%20all%20the%20%3CBR%20%2F%3E%20branches%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMore%20%3CA%20href%3D%22https%3A%2F%2Fmedium.com%2Fmedialesson%2Fmove-git-repositories-from-one-to-other-organization-in-azure-devops-d15ee4283dc9%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmedium.com%2Fmedialesson%2Fmove-git-repositories-from-one-to-other-organization-in-azure-devops-d15ee4283dc9%3C%2FA%3E%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi All,

 

I would like to know how to migrate azure devops project to another project within and outside Azure Devops organization?

4 Replies
best response confirmed by Sagar_Lad (Contributor)
Solution

Hello @Sagar_Lad,

The steps involved are below.

Add a User to Both Organization
Configure SSH Key
Update the SSH Key in Source DevOps and Clone the Repository
Check out all the Branches and Tags
Update the SSH Key in the Destination DevOps
Remove Old and Add New Origin
Push all the branches

 

More https://medium.com/medialesson/move-git-repositories-from-one-to-other-organization-in-azure-devops-...

Regards