Migrating Repositories from ADO to GitHub: Need Help with PRs

May 22, 2025 5 answers
Asked by SunnyRider92
I'm currently interning and I've been tasked with migrating our enterprise repositories from Azure DevOps (ADO) to GitHub (GH). I'm running into some challenges specifically with transferring the pull requests (PRs). Has anyone dealt with this before or have any tips on how to navigate the process?

Answers

DevDiva11
That's a great question! I think a major reason is all the cool plugins available for GitHub, like Copilot. Some claim ADO has support for similar tools, but many find those versions to be buggy and not as well-tested.
Reply to this answer
CodeGuru88
One approach is to write code to recreate the PRs and their comments since there's no straightforward migration path for that. Personally, I think it's best to close all open PRs, migrate the main branch, and start fresh. If you face pushback from the team about any long-lived branches, that's a good indicator that a reset could be beneficial and you might want to shift towards trunk-based development.
Reply to this answer
CuriousDev07
By the way, whatโ€™s the main reason for migrating? ADO isnโ€™t going away anytime soon.
Reply to this answer
TechMaven03
PRs and comments don't transfer neatly during migration, so keep that in mind.
Reply to this answer
BackupWizard22
Another option is to back up your ADO environment and restore it in GitHub. Tools like GitProtect allow you to use their backup & DR solution to do this effectively. While it's primarily for data protection, it does facilitate data migration with a cross-restore option from ADO to GitHub.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions