Topic: change local repo to use codeberg
|
kaputtnik Topic Opener |
Posted at:
2025-12-18, 16:49 UTC+1.0
I want to switch my local repos of widelands and website to use codeberg instead of github. What should i consider? Is it save to just edit the from
to:
Edited:
2025-12-18, 16:49 UTC+1.0
Top
Quote
|
|
Nordfriese |
Posted at:
2025-12-18, 19:12 UTC+1.0
Better than editing the config by hand you can use the builtin subcommand
Edited:
2025-12-18, 19:12 UTC+1.0
Top
Quote
|
tothxa
|
Posted at:
2025-12-18, 19:12 UTC+1.0
You can have multiple remotes for a repo with git, so you don't have to remove github to add codeberg.
Top
Quote
|
|
kaputtnik Topic Opener |
Posted at:
2025-12-18, 20:03 UTC+1.0
Yes, in know. But to get not confused i have to use special names for the remote-names, say Will bunnybot not get confused when pushing one time to github and another time to codeberg, maybe on the same branch?
Top
Quote
|
|
Nordfriese |
Posted at:
2025-12-18, 20:26 UTC+1.0
Bunnybot can handle this fine. Just please don't push different things to both mirrors of the same branch at the same time (plus or minus fifteen minutes) – in that case bunnybot will make a best-effort attempt (if even possible) to re-merge the divergence in a way that may or may not be what you intended Note that for branches from a fork, the mirrored branches are namespaced with a
Top
Quote
|
|
kaputtnik Topic Opener |
Posted at:
2025-12-19, 10:31 UTC+1.0
Thank you all for the hints and explanations. Didn't expected this is that easy. If anyone else want to switch keep in mind that you have to use the name of the repositories, e.g.
and for the main repository (upstream):
Check with
Edited:
2025-12-19, 11:48 UTC+1.0
Top
Quote
|

