无法从 Windows 10 上的 GitLab 克隆 git 存储库



Windows 10 (64 位(

我可以在 Windows 10 上从 GitHub 成功克隆 git 存储库。

好。

但是从 GitLab 我无法克隆 git 存储库。

我收到错误:

git clone https://gitlab.com/some-project/android
Cloning into 'android'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'https://gitlab.com/some-project/android.git/'

但是如果我在 Linux 机器上尝试相同的命令(git clone https://gitlab.com/some-project/android),我会成功从 GitLab 克隆 git 存储库。

为什么我无法在 Windows 10 机器上下载 git 存储库?

转到Control Panel->搜索Credential Manager->Windows Credentials->搜索git:https://gitlab.com并使用您登录 Linux 机器的 GitLab 用户Edit它,然后重试。

最新更新