如何将新的开发分支推向镜像的Gitea存储库?
如果不将上游推向上游,似乎无法将新的分支推向镜像存储库。 我在Gitea中创建了一个镜像存储库,它是从GitHub存储库中同步的。我将Gitea存储库克隆到本地,并创建了一个新的分支。现在,我想将新分支推向Gitea,它报告说远程存储库是只读的。 “远程:镜像存储库仅读取” 这是否意味着它不能推到镜像存储库,而唯一的方法是将存储库转换为普通存储库?
It seems can't push commits to a new branch to a mirror repository without setting push to upstream.
I created a mirror repository in gitea, it synchronizes from a GitHub repository period. I cloned the gitea repository to my local and created a new branch. Now I want to push the new branch to gitea, it reports that the remote repository is read-only.
"remote: mirror repository is read-only"
Does it mean that it can't push to a mirrored repository and the only way is to convert the repository to a normal one?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当前分支所有文件用目标分支覆盖
将分支更改为分支名称
删除所有更改 从新分支
合并 获取新分支
将所有更改从远程分支获取到本地 当前分支
删除本地分支
警报(不要使用此)首先使用 use 'git merge --abort'
重命名本地分支
删除远程分支
撤消 Git 中最近的本地提交?删除与提交相关的文件
,因此,在
撤消最近的本地提交时,但不删除
最后两个提交的
文件从远程 git 存储库中删除最后一次提交
强制完全拉取分支
current branch all file over-write with target branch
change branch to branch name
remove all change merge from new branch
fetch new branch
fetch all changes from remote branch into local current branch
delete local branch
alert (do not use this) first use use 'git merge --abort'
rename local branch
delete remote branch
undo the most recent local commit in Git? Delete files related to commit
and So, on
undo most recent local commit But not delete files
for last two commit
Remove last commit from remote git repository
force fully pull branch