ideallove

ideallove

github

git config 設定

設定使用者名稱和電子郵件(全局)#

git config --global user.name "你的使用者名稱"
git config --global user.email "你的電子郵件"

查看當前 terminal 的配置#

git config --list

啟用代理#

# 使用socks端口啟用代理
git config --global http.proxy 'socks5://127.0.0.1:7890'
git config --global https.proxy 'socks5://127.0.0.1:7890'

# 設定
git config --global http.proxy 'http://127.0.0.1:12346'
git config --global https.proxy 'http://127.0.0.1:12346'

git config --global http.proxy 'http://127.0.0.1:7890'
git config --global https.proxy 'http://127.0.0.1:7890'
# 查看
git config --global --get http.proxy
git config --global --get https.proxy
# 取消
git config --global --unset http.proxy
git config --global --unset https.proxy
載入中......
此文章數據所有權由區塊鏈加密技術和智能合約保障僅歸創作者所有。