Skip to main content

git-client-initial-settings | git-memo

初回の環境設定

bash
git config --global user.name "sugoi_user"
git config --global user.email "-"

# 認証情報をキャッシュする
git config --global credential.helper cache

# git status とかで日本語ファイルを文字化けさせない
git config --global core.quotepath false

# この warning 対策 → "need to specify how to reconcile divergent branches"
git config --global pull.rebase false

設定確認

bash
cat ~/.gitconfig