log-a-git-error
When I tried to clone a repo from self-built gitlab. I met a error like this:
$> git clone https://git.qingyou.ren/KawhiCurry/ansible.git Cloning into 'ansible'...
fatal: unable to access 'https://git.qingyou.ren/KawhiCurry/ansible.git/': Failed to connect to 127.0.0.1 port 7890: Connection refused
Anyway, 7890 refuse me. Finally, I got this: cnblogs
Seems my proxy(or vpn?)ruin it. It leads my git somewhere strange.
record the operation here.
git config --global -l
git config --global -e
//delete or comment on the lines about port
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Kawhicurry's Blog!
评论