最近基於 PDFium 項目作一些東西。以前得了代碼,今天想要更新到最新的,發現怎麼都 pull 不下來。後來想起來,多是 git 沒有使用代理的緣由。因而添加代理,果真更新成功。git
在 git bash 中輸入:bash
git config --global http.proxy http://proxy.example.com:8888
再 pull 就OK了。spa
要取消代理,請輸入:代理
git config --global --unset http.proxy