ideallove

ideallove

github

git config 設定

ユーザー名とメールアドレスを設定(グローバル)#

git config --global user.name "あなたのユーザー名"
git config --global user.email "あなたのメールアドレス"

現在のターミナルの設定を確認#

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
読み込み中...
文章は、創作者によって署名され、ブロックチェーンに安全に保存されています。