【问题标题】:Can't clone git repo from GitLab on Windows 10无法在 Windows 10 上从 GitLab 克隆 git repo
【发布时间】:2023-03-10 01:07:01
【问题描述】:

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

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

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

【问题讨论】:

    标签: gitlab window


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2010-11-05
      • 1970-01-01
      • 2021-10-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-08-14
      • 2022-11-02
      相关资源
      最近更新 更多