0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Git で Email と Username をグローバル設定する

Posted at

OS X で環境構築するときに忘れないように Git のグローバル設定についてメモっとく。

Email と Username をグローバル設定に追加する

$ git config --global user.email "takuya0301+git@example.com"
$ git config --global user.name "Takuya Tsuchida"

Email と Username のグローバル設定を確認する

$ git config --global user.email
takuya0301+git@example.com
$ git config --global user.name
Takuya Tsuchida
$ git config --global --list
user.email=takuya0301+git@example.com
user.name=Takuya Tsuchida
$ cat ~/.gitconfig
[user]
  email = takuya0301+git@example.com
  name = Takuya Tsuchida

参考文献

https://help.github.com/articles/setting-your-email-in-git/
https://help.github.com/articles/setting-your-username-in-git/

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?