why ?
雖然瀏覽器已經可以google了,但是要利用git bash
中的git clone
從github repo
上下時,仍然會出現time out,這是因為沒有配置代理或者配置錯誤
how ?
case1:沒有配置
- 查看代理軟件的端口
- 配置
git config --global http.proxy "localhost:1080"
# 1080即上一步查看的端口號
- 之后便可以正常下載了
case2: 配置錯誤
- 取消之前的配置
git config --global --unset http.proxy
git config --global --unset https.proxy
- 重復case1的步驟