我当时正在一个当地的仓库里克隆我的私人GitHub库,但Git扔了一个“强势”的“强势”ERROR 强”:
$ git clone https://github.com/Charley2012/CHMS.git D:homescharley编程编程CCHMSCHMS.git
Cloning into D:homescharley编程编程CCHMSCHMS.git ...
fatal: failed to load library libcurl-4.dll
I have used cmd.exe (Windows command prompt) and Git Bash, but they both threw the same error message above.
I have reinstalled Git but that does not make any difference.
I have tried to clone other GitHub repositories but I got the same error message.
GitHub Desktop has successfully cloned the repository, but the reason behind this success is unclear.
I think the problem was caused by a local reason.
I am using Windows 10 and Git 2.41.0.
The files of Git (e.g.git.exe
) is under D:homescharley编程编程DevToolsGitcmd
.