% git config --global user.email "you@example.com"
% git config --global user.name "Your Name"
これで、.gitconfig ファイルが以下のように作成される。
% cat ~/.gitconfig
[user]
email = you@example.com
name = Your Name
この後に、最初の git init でレポジトリを作成する。
セコメントをする