首页 > 解决方案 > 无法从 Windows 10 上的 GitLab 克隆 git repo

问题描述

Windows 10(64 位)

我可以在 Windows 10 上从 GitHub 成功克隆 git repo。

好的。

但是从 GitLab 我无法克隆 git repo。

我得到错误:

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/'

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

为什么我不能在 windows 10 机器上下载 git repo?

标签: gitlabwindow

解决方案


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


推荐阅读