Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试推送到 GitLab 存储库。我已经登录/验证,并且能够获取我所有的 GitLab 项目。
该存储库是从 GitHub 导入到 GitLab 的。
我也可以使用不同的存储库正常推送,但是使用这个存储库时,我会看到一个“HTTPS 凭据”对话框,要求输入用户名和密码。提供我的 GitLab 用户名和个人访问令牌不起作用。
我在 Windows 7 上运行 GitAhead 2.5.11。
远程仍然设置为 GitHub URL 而不是 GitLab URL,所以我实际上是在尝试使用我的 GitLab 凭据推送到 GitHub。
将遥控器设置为正确的 GitLab URL 就可以了。