我正在尝试将存储库克隆到笔记本电脑上,并且遇到了一些问题。我所指的特定安装是Twint library。请允许我详细说明:
我首先输入git clone https://github.com/twintproject/twint.git
,这会给我以下错误消息:
Cloning into 'twint'...
fatal: unable to access 'https://github.com/twintproject/twint.git': error setting
certificate verify locations:
CAfile: C:\Program Files (x86)\git\bin\curl-ca-bundle.crt
CApath: none
我已经上网查看了this Git issue,其中哪个答案要求运行
git config --global http.sslveify "false"
但这也给了我
error: could not lock config file /home/User/.gitconfig: No such file or directory
有人知道我应该怎么做才能解决此问题?谢谢。
编辑
如果有帮助,我的C:\ProgramData\Git\config
文件的内容如下:
[core]
symlinks = false
autocrlf = true
fscache = true
[color]
diff = auto
status = auto
branch = auto
interactive = true
[help]
format = html
[rebase]
autosquash = true