Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mirror of an uninitialized repository #9630

andreasfranke opened this issue Jan 7, 2020 · 0 comments

Mirror of an uninitialized repository #9630

andreasfranke opened this issue Jan 7, 2020 · 0 comments


Copy link

@andreasfranke andreasfranke commented Jan 7, 2020


If I create an uninitialized repository as remote, make a mirror of this remote using “New Migration” and “This repository will be a mirror”, the mirror never updates correctly, when I initialize and add some files to remote to a later time.

I found out that Gitea does not update the entries in the SQLite database when migrating (mirroring) an uninitialized repository and then initializing the remote repository and synchronize this repository from mirror. In the table main.repository the “default_branch” must be set to “master” and the field “is_empty” to “0” manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.