-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Mirroring of external repository does not work after rebase #6783
Comments
Have you ever update the mirror settings on the settings page? |
My mirror repo is getting weird after #6593 merged, can you check it? @zeripath The mirror is unable to update the new commits to the proper branch after I update the mirror settings. xxxxx.git/config: before:
after mirror settings updated:
Lines 123 to 133 in eb8632b
|
No. I've just tried to manually mirror things by pressing the 'Sync' button. Interesting, this is not 100% reproducible. I just setup another mirror on my local gitea server and the mirroring worked fine even with rebases. However, the example mirror that I setup on https://try.gitea.io/samangh/teset is still broken. |
Hmm... I wonder if this needs to be _, err = git.NewCommand("remote", "add", "origin", "--mirror=fetch", addr).RunInDir(repoPath) |
[x]
):Description
If gitea is mirroring an external repository and the external repository undergoes a rebase or a force push (so that the histories diverge), then the mirrored repository fails to show those changes.
Steps to reproduce:
For an example please see https://try.gitea.io/samangh/teset, which is supposed to be a mirror of https://github.com/samangh/test.
The text was updated successfully, but these errors were encountered: