我无法从其父代表https://gitlab.com/sourav_roy_gngl392/api更新我的分叉存储库https://gitlab.com/mirach/kounsel/backend/api。
遇到以下问题, “2:获取远程上游失败:致命:无法读取”https://gitlab.com“的用户名:没有此类设备或地址”
请注意我已经按照这些指南但是徒劳无功,
1)https://about.gitlab.com/2016/12/01/how-to-keep-your-fork-up-to-date-with-its-origin/
2)https://docs.gitlab.com/ee/workflow/repository_mirroring.html。
我发现了上述错误的线索,虽然也就是说,我可能指定了一个错误的镜像用户,在上面的教程1中,第3步说:设置镜像用户:它是新提交的用户上游项目将归于你的前叉。
@minhaz,请你能给我一个正确的镜像用户。
答案 0 :(得分:0)
检查您是否有可能缓存错误凭据的凭据帮助程序:
git config credential.helper
还检查与上游相关的确切URL
git remote -v upstream
如果https仍无效,请尝试测试以切换到SSH:
git remote set-url upstream git@gitlab.com:<user>/<repo>