git - 无法克隆私有 GitLab 存储库;403 错误
问题描述
我在用
git clone https://gitlab.com/project_name/repo_name.git
并且还使用
git clone https://username@gitlab.com/project_name/repo_name.git
并且它们都给出了相同的错误,如下所示:
fatal: unable to access 'https://gitlab.com/project_name/repo_name.git/': The requested URL returned error: 403
解决方案
如果您是管理员,您可能忘记将自己添加为私人仓库的成员。您需要成为成员才能克隆代码/运行管道。
推荐阅读
- powershell - 如何设置 Azure AD 注册应用的 API Key 的“密钥描述”
- php - 使用 PHP 将 HTML 表单转换为数据库
- python - 如何解释 cron.yaml 文件中的 URL 参数?
- c++ - Cuda矩阵乘法:大矩阵的错误输出
- java - 高效地向 Java ThreadPool 提交无限数量的任务
- javascript - 以角度 6 将产品添加到标题购物车
- node.js - 单元测试 - 与 supertest 开玩笑给出超时
- angular - 刷新图像 - 可观察的 Angular
- uwp - Xbox One 检测网络连接类型
- ios - 尝试在 Swift 中推送视图控制器时崩溃