Bil*_*oui 4 deployment continuous-integration gitlab gitlab-ci cicd
我在尝试通过 gitlab 部署我的分支时收到此错误。
remote: The project you were looking for could not be found or you don't have permission to view it.
fatal: repository 'https://gitlab.com/[group_name]/[repo_name].git/' not found
error: Could not fetch origin
Run Code Online (Sandbox Code Playgroud)
我设法解决了我的问题。如果您遇到同样的问题,请按照以下步骤操作:
git remote rename origin old_origin
git remote add origin https://[gitlab_username]@gitlab.com/[group_name]/[repo_name].git
git config --add checkout.defaultRemote origin
| 归档时间: |
|
| 查看次数: |
25006 次 |
| 最近记录: |