-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Cannot push to my repo (mirror is readonly) #7609
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
Comments
You cannot push to mirrored repositories. You will either need to fork the mirror and update the fork from the mirror intermittently manually, or, you need to push to the upstream. If we allow pushes to mirrors and a conflicting change from upstream occurs what is supposed to happen? |
You could create a mirror of that repository. |
That doesn't work as the mirror is readonly. I have a mirror created so that I have a local copy of the remote repo, now I want to add branches with custom changes, currently there is no way to do that and keep it in sync. |
If nothing else in my case it'd be great if on the fork of the repo I could click a button to update a specific branch to the latest or something similar. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
you can convert it to a regular repo in the setting page of your repo. |
The GCP repositories shell still having the same problem when I commit and push a change to the files in my repos on GCP. Any updates for the solutions? |
You need to set the image warehouse to a regular warehouse, otherwise prompt: remote: mirror repository is read-only |
If it shouldn't be possible for a mirror repository to pull and push from/to remotes, then why is it configurable like this? |
I agree with @hermannoffen, if you can't set up push pull syncing it shouldn't be an option, and since you can set that up the mirror shouldn't be read only. |
I am also facing the same issue. is there any option now to without create new repo? |
Maybe we could have a branch list configuration that will be mirrored and then other branches could be pushed. The default value is all branches are mirrored but allow users to change. |
This has been implemented in v1.23.1 |
[x]
):Description
Hello
I have a repository hosted by gitea running locally on my machine (through a VM). This repository is mirroring a remote repositry hosted somewhere else.
When I try to push to my gitea repository, I have the following error message (I have added verbose flags)
I don't know why mirror repository is in Read Only. I have checked and I can very well pushed commit to the mirrored repo.
Do you what is the reason of this error ?
Best Regards
The text was updated successfully, but these errors were encountered: