[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GCD] Migrating repositories, issues, and patches to Codeberg
From: |
Leo Famulari |
Subject: |
Re: [GCD] Migrating repositories, issues, and patches to Codeberg |
Date: |
Tue, 18 Feb 2025 23:16:49 -0500 |
On Wed, Feb 19, 2025 at 02:12:40AM +0100, Denis 'GNUtoo' Carikli wrote:
> This doesn't take care of existing repositories, and it is possible to
> handle that as well but the way I know does require practical control
> over the infrastructure (there may be better ways though that works
> without ssh access):
>
> $ git checkout origin/master -b temporary
> $ git push origin HEAD:main
> $ ssh root@server
> $ cd /path/to/repository.git
> $ git symbolic-ref HEAD refs/heads/main # Change the main branch
> $ git symbolic-ref refs/heads/master refs/heads/main # Make master point to
> main
>
> I did it on many Replicant repositories for instance, and it's 100%
> transparent to the users. With that, new clone of the repositories use
> main by default.
Nice, thanks for sharing these tips!
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, (continued)
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Hartmut Goebel, 2025/02/11
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Ekaitz Zarraga, 2025/02/12
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, 45mg, 2025/02/12
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Attila Lendvai, 2025/02/13
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Liliana Marie Prikler, 2025/02/13
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Suhail Singh, 2025/02/13
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Tomas Volf, 2025/02/14
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Tomas Volf, 2025/02/14
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Ekaitz Zarraga, 2025/02/14
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Denis 'GNUtoo' Carikli, 2025/02/18
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg,
Leo Famulari <=
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Liliana Marie Prikler, 2025/02/12
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Ekaitz Zarraga, 2025/02/12
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Liliana Marie Prikler, 2025/02/12
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Ekaitz Zarraga, 2025/02/12
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Suhail Singh, 2025/02/12
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Liliana Marie Prikler, 2025/02/12
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Suhail Singh, 2025/02/12
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Leo Famulari, 2025/02/12
- Re: [GCD] Migrating repositories, issues, and patches to Codeberg, Denis 'GNUtoo' Carikli, 2025/02/18
- Branch naming (Was: [GCD] Migrating repositories, issues, and patches to Codeberg), Felix Lechner, 2025/02/12