[BUG] 第二次使用git clone提示鉴权失败 #7

Closed
opened 2026-10-07 21:20:54 +00:00 by xixu-me · 1 comment
Owner

错误描述

在Ubuntu中使用git clone提示Username for 'https://xget.xi-xu.me':

重现步骤

1.操作系统为Ubuntu 24.04;
2.使用指令git config --global url."https://xget.xi-xu.me/gh/".insteadOf "https://github.com/"进行github全局代理;
3.第一次使用git clone https://github.com/macrozheng/mall-swarm,可以正常克隆仓库;
4.第二次使用git clone https://github.com/macrozheng/mall-web-admin克隆另一个仓库时提示要我输入用户名和密码,随便输入用户名和密码后提示鉴权失败。

预期行为

第二次应该继续正确的克隆仓库

受影响的平台

GitHub

问题 URL 示例

No response

操作类型

Git 克隆

错误信息

ly@ly-Qun-184813831:~/source$ git clone https://github.com/macrozheng/mall-web-admin
正克隆到 'mall-web-admin'...
Username for 'https://xget.xi-xu.me': fucfox
Password for 'https://fucfox@xget.xi-xu.me': 
fatal: 'https://xget.xi-xu.me/gh/macrozheng/mall-web-admin/' 鉴权失败

浏览器/工具

No response

实例 URL

No response

附加信息

No response

确认

  • 我已经搜索了现有的 issues,确认这不是重复报告
  • 我已经阅读了存储库文档和故障排除指南
  • 我提供的信息准确且完整

GitHub 来源:https://github.com/xixu-me/xget/issues/48
作者:fucfox · 创建时间:2025-09-03T08:27:01Z

### 错误描述 在Ubuntu中使用git clone提示Username for 'https://xget.xi-xu.me': ### 重现步骤 1.操作系统为Ubuntu 24.04; 2.使用指令git config --global url."https://xget.xi-xu.me/gh/".insteadOf "https://github.com/"进行github全局代理; 3.第一次使用git clone https://github.com/macrozheng/mall-swarm,可以正常克隆仓库; 4.第二次使用git clone https://github.com/macrozheng/mall-web-admin克隆另一个仓库时提示要我输入用户名和密码,随便输入用户名和密码后提示鉴权失败。 ### 预期行为 第二次应该继续正确的克隆仓库 ### 受影响的平台 GitHub ### 问题 URL 示例 _No response_ ### 操作类型 Git 克隆 ### 错误信息 ```shell ly@ly-Qun-184813831:~/source$ git clone https://github.com/macrozheng/mall-web-admin 正克隆到 'mall-web-admin'... Username for 'https://xget.xi-xu.me': fucfox Password for 'https://fucfox@xget.xi-xu.me': fatal: 'https://xget.xi-xu.me/gh/macrozheng/mall-web-admin/' 鉴权失败 ``` ### 浏览器/工具 _No response_ ### 实例 URL _No response_ ### 附加信息 _No response_ ### 确认 - [x] 我已经搜索了现有的 issues,确认这不是重复报告 - [x] 我已经阅读了存储库文档和故障排除指南 - [x] 我提供的信息准确且完整 --- GitHub 来源:https://github.com/xixu-me/xget/issues/48 作者:fucfox · 创建时间:2025-09-03T08:27:01Z <!-- github-archive:3378860355 -->
xixu-me added the invalid label 2026-10-07 21:20:54 +00:00
Author
Owner

该 issue 所指的“第二次”涉及的存储库目前私有,为什么输入错误的用户名或错误的密码导致的鉴权失败认为是 Xget 的问题?


GitHub 来源:https://github.com/xixu-me/xget/issues/48#issuecomment-3248288727
作者:xixu-me · 创建时间:2025-09-03T08:49:22Z

该 issue 所指的“第二次”涉及的存储库目前私有,为什么输入错误的用户名或错误的密码导致的鉴权失败认为是 Xget 的问题? --- GitHub 来源:https://github.com/xixu-me/xget/issues/48#issuecomment-3248288727 作者:xixu-me · 创建时间:2025-09-03T08:49:22Z <!-- github-archive:3248288727 -->
Sign in to join this conversation.