LoginSignup
0
0

More than 3 years have passed since last update.

githubに草が生えない

Last updated at Posted at 2020-11-01

githubのContributionsに草が生えない

git config user.email

でローカルのemailとgithubに登録してるemailが一致しているか確認。何もでない場合は登録されていないです。ローカルにemailを登録していない、もしくは違ってた場合、下記のコマンドを実施。

git config --global user.email example@exampl.com

example@exampl.comの所にgithubに登録してるメールアドレスを入力し実行。これで全リポジトリ共通のe-mailアドレスをローカルに登録したことになります。リポジトリごとにuser.e-mailを変えたい人はオプションがあるので調べてみてください。

解決

だいたい草が生えていないのはgithubとローカルの登録しているemailが違う場合がほとんどです。

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