How can I easily move repos from Github to a European alternative?

Also which alternative I should use? Is Codeberg good enough?

55 points · 9 comments · view on lemmy.world

9 Comments

anamethatisnt@sopuli.xyz · 16 pts · 221d

Codeberg or a selfhosted Forgejo would be my recommendation.

saint@group.lt · 13 pts · 221d

Moving repos is easy, but expect some sweat while moving actions and integrations. Also do backups.

phneutral@feddit.org · 12 pts · 221d

You can always push your local copy to any other origin and Codeberg offers a service to clone github repositories. It is just a couple of clicks.

vpol@feddit.uk · 6 pts · 221d

Codeberg is good and will be even better if we donate regularly.

9point6@lemmy.world · 6 pts · 221d (1 reply)

Kinda difficult to do it in a way that isn't easy tbh!

Just locally rename your old origin to old-github or something, add your new origin (codeberg is a good shout) and then push. Maybe put a notice & link on your old repo's readme and then archive the repo on GitHub

Job done in less than 5 mins per repo

ZILtoid1991@lemmy.world · 1 pts · 221d

The hardest part will be getting dub to play nicely with Codeberg...

TheMightyCat@ani.social · 4 pts · 221d

I switched from github to forgejo and that was really easy, they have an migrate button.

Goodlucksil@lemmy.dbzer0.com · 4 pts · 221d

Yes, Cideberg will do. And probaably mirroring code into Codeberg is good enough

velorutionnaire@jlai.lu · 2 pts · 221d

If you used Github as a simple remote repository and nothing around (CI, issues, ...), you can also setup a simple bare git repository on a server to use a your remote and a backup. There is nothing special to do once you can log with SSH into the server.

I very recently did that for my personal projects.