
How to Actually Migrate from GitHub to Codeberg Without Losing Your Mind
So you've finally decided to move some repos off GitHub. Maybe it's the AI training concerns, maybe it's the principle of using a platform run by a nonprofit, or maybe you just like the idea of Forgejo. Whatever the reason, you've landed on Codeberg — and now you're staring at dozens of repositories wondering how to do this without mass-breaking everything. I've been there. I migrated about 15 repos last month, and honestly? The actual migration is the easy part. It's everything around the migration that trips you up. The Real Problem: It's Not the Git Part Let's be clear about something. Moving a git repository from one remote to another is trivial. You've probably done it a hundred times: git remote set-url origin https://codeberg.org/yourname/yourrepo.git git push --all git push --tags That's it for the code. But your repo isn't just code, is it? It's issues, pull requests, CI pipelines, badges in your README, links other people have bookmarked, and contributor workflows that assume
Continue reading on Dev.to
Opens in a new tab



![[MM’s] Boot Notes — The Day Zero Blueprint — Test Smarter on Day One](/_next/image?url=https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F1368%2F1*AvVpFzkFJBm-xns4niPLAA.png&w=1200&q=75)