設定

記事
IT・テクノロジー

ユーザ名

git config --global user.name "ユーザ名"

メールアドレス

git config --global user.email "メールアドレス"

出力エンコーディングをUTF-8に設定

git config --global core.quotepath false

difftool

差分を指定したアプリで見やすく表示する
 VSCode
git config --global diff.tool vscode
git config --global difftool.vscode.cmd "code --wait --diff \"$LOCAL\" \"$REMOTE\""
git config --global difftool.prompt false

設定の削除

git config --global --unset 設定

一覧表示

git config --list

サービス数40万件のスキルマーケット、あなたにぴったりのサービスを探す ココナラコンテンツマーケット ノウハウ記事・テンプレート・デザイン素材はこちら