LoginSignup
2
0

More than 1 year has passed since last update.

Githubのコミットでプロフィール画像が空白になる

Last updated at Posted at 2018-07-08

Github上では同じアカウントのはずだけど、別アカウントとして認識されているかのように見える。

image.png

解決

gitconfig の email 設定が間違っていた。
email を Githubアカウントと同じものに揃えたところ、以後のコミットでは正しくプロフィール画像が反映されるようになった。

~/.gitconfig
[user]
-  email = typo.monster@gmail.com
+  email = correct.human@gmail.com

コマンドでやる場合

グローバル設定を変える

  • git config --global user.email correct.human@gmail.com

ローカル設定 (カレントのレポジトリの設定) だけを変える

  • git config --local user.email correct.human@gmail.com

参考

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

2
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
2
0