【发布时间】:2021-04-04 13:24:32
【问题描述】:
我试图将我的本地分支代码推送到新 repo 的 master。这些是 Gitlab 存储库。但我不断收到此错误 -
remote:您 (@user) 必须接受服务条款才能执行此操作。请从网络浏览器访问 GitLab 以接受这些条款。 致命:无法访问“https://gitlab.com/project/project-ios.git/”:请求的 URL 返回错误:403
@user 不是我。我不知道发生了什么。
我提交了我的本地分支,在 gitlab 上打开另一个远程并在终端上写了
git push https://gitlab.com/new_project/new_project-ios +local_branch:master
我找到了here!。
@user 的人在我之前正在处理不同的 repo。我正在使用的存储库是几个月前创建的,此人未添加为成员。
【问题讨论】:
标签: git