Gitのユーザー名とメールアドレスを設定

Gitのユーザー名とメールアドレスを設定するコマンド

リポジトリ内で

$ git config user.name "yourname"
$ git config user.email "yourname@example.com"

全体で

$ git config --global user.name "yourname"
$ git config --global user.email "yourname@example.com"

設定内容の確認

$ git config user.name
yourname

$ git config user.email
yourname@example.com

関連記事

Mewで複数のメールアドレスを切り替えて使う方法
Mewで複数のメールアドレスを使いたい場合は.mew.elにmew-config-alistを必要なアカウントの分だけ書いておくと良いそうです。 (setq mew-config-alist '(("default" (imap-server "imap.example.org") (imap-ssl t) (imap-...

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です