git clone相关问题和bug记录
1.win11上面git clone --recursive https://github.com/naver/mast3r,一直报错:
Cloning into 'mast3r'...
fatal: unable to access 'https://github.com/naver/mast3r/': Failed to connect to 127.0.0.1 port 7890 after 2021 ms: Couldn't connect to server
解决:是因为代理地址错了,错误中显示代理设置是7890,而我本机的代理则是7897,所以修改一下即可:
1)寻找本机代理
2)设置好代理
关闭git的代理git config --global --unset http.proxy
设置代理git config --global http.proxy http://127.0.0.1:本机代理(我的是7897)