gpt4 book ai didi

git - 从 Visual Studio 2017 使用 git 克隆时出现 "Illegal characters in path"

转载 作者:行者123 更新时间:2023-12-01 16:51:18 24 4
gpt4 key购买 nike

在 Visual Studio 2017 上,我无法使用 git 克隆存储库。我收到此错误消息:

enter image description here

存储库 URL 很好,目标文件夹也很好(没有空格或特殊字符)。我在另一台电脑上尝试过,一切正常。当我使用 GitKraken、SourceTree 或在命令行中克隆同一项目时,一切正常。我尝试卸载 git,清理我的 tfs/git 凭据,取消选中 Visual Studio 安装程序上的“Git for Windows”选项,但徒劳无功......

有人遇到过同样的问题吗?你是怎么解决的?感谢您的帮助!

Visual Studio 2017: 15.9.11
Git version: 2.21.0
Git url path: https://tfs.mysubdomain.mydomain.fr/dev/PROJECT/_git/PROJECT
TFS Server: https://tfs.mysubdomain.mydomain.fr/dev/PROJECT/PROJECT%20Team/_git/PROJECT

最佳答案

不知道是什么原因造成的。我一直在 Windows 终端中运行 git 命令。当我尝试引入 Visual Studio 时,也发生了同样的问题。

以下是我解决问题的方法:

Restart the computer😂

关于git - 从 Visual Studio 2017 使用 git 克隆时出现 "Illegal characters in path",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55586955/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com