TIL

Today I Learned. 知ったこと、学んだことを書いていく

gitの初期設定

次の3つを設定する

  • ユーザー名
  • メールアドレス
  • 使用するエディタ
git config --global user.name "{userName}"
git config --global user.email "{emailAddress}"
git config --global core.editor {editor}



2017/10/4 追記

エディタをVimに設定する場合

git config --global core.editor 'vim -c "set fenc=utf-8"'



参考文献

Git - 最初のGitの構成