gitlab - 无法从 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?
解决方案
转到Control Panel
-> 搜索Credential Manager
-> ->使用您登录 linux 机器的 GitLab 用户Windows Credentials
搜索它,git:https://gitlab.com
然后再试一次。Edit
推荐阅读
- c++ - 试图将 3d 数组传递给函数 c++
- ruby - 在同一行接收值
- c# - 从 .NET Framework 4.6 迁移到 .NET5 后,API 帖子正文为空
- node.js - 使用mongodb在nodejs中使用锁定/事务读取和插入文档
- sql - 如何在 Oracle 中使用 current_timestamp 指定时区
- go - 无法将 go 应用程序推送到 heroku - 构建失败
- visual-studio-code - 为什么 Prettier 扩展在 VS Code 中不起作用?
- binance - Binance api python + 或使用某些应用程序进行买卖的任何其他建议
- javascript - 即使 .then 已解决,为什么我的 catch 语句仍会触发?
- ios - Flutter Health Steps Data, Datatype 可能抛出导致 UI 崩溃的错误