参考
https://blog.csdn.net/fangxiananvhai/article/details/102659875
- 故障现象
克隆代码时报503错误
'git clone' has been updated in upstream Git to have comparable
speeds to 'git lfs clone'.
Cloning into 'psy_model_v3'...
fatal: unable to access 'http://gitlab.xxx.com/xxx/model_v3.git/': The requested URL returned error: 503
Error(s) during clone:
git clone failed: exit status 128
- 原因
之前为了下载国外代码设置了代理
查看代理设置了http和https代理
# git config --global --list
[email protected]
user.name=Your Name
filter.lfs.required=true
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
core.compression=-1
http.postbuffer=600000
http.lowspeedlimit=0
http.lowspeedtime=999999
http.proxy=http://192.168.8.49:10809
https.postbuffer=2024288000
https.proxy=http://192.168.8.49:10809
- 解决方法
取消代理
# git config --global --unset http.proxy
# git config --global --unset https.proxy
标签:git,http,https,--,Gitlab,拉取,filter,lfs,503
From: https://www.cnblogs.com/minseo/p/18373020