不是 IDEA 闪退或崩溃,而是 Git 克隆命令直接失败了,导致 IDEA 认为操作结束,从而关闭了克隆进度窗口,给你一种“没反应”或“闪退”的错觉。
·
✅ 解决方案
请严格按照以下步骤操作,即可解决:
第一步:清除错误的 Git 镜像配置
打开 PowerShell 或 CMD,依次执行以下命令(直接复制粘贴):
powershell
编辑
# 1. 删除针对所有域名的 gitclone.com 替换规则
git config --global --unset url.https://gitclone.com/.insteadOf
# 2. 删除针对 gitee.com 的特有替换规则(以防万一)
git config --global --unset url.https://gitclone.com/gitee.com/.insteadOf
# 3. 验证是否清理成功(输出中不应再包含 gitclone.com)
git config --global --list
如果执行 --unset 时提示 No such key,说明该规则不存在,可以直接忽略,继续下一步。
第二步:在 IDEA 中重新克隆
- 重启 IDEA(确保它重新加载 Git 配置)。
- 点击
Get from VCS(或Clone Repository)。 - 输入原始地址:
https://gitee.com/y_project/RuoYi-Cloud.git。 - 点击 Clone。
此时应该能看到正常的下载进度条,不再报错 not found。
更多推荐




所有评论(0)