6
2

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.

GitHubのContributor一覧に自分のアカウントが表示されない[解決済]

Last updated at Posted at 2019-07-03

現象

GitHubのオープンソースリポジトリ(dotnet/docs.ja-jp)に送ったPull Requestがマージされたが、Contributorsの一覧に自分の名前が表示されない。

原因

Viewing a project's contributorsのトラブルシューティングから抜粋。

  • You aren't one of the top 100 contributors.
    • Contributorの上位 100 名でない。
  • Your commits haven't been merged into the default branch.
    • **defaultのブランチ1**にマージされていない。
  • The email address you used to author the commits hasn't been added to your GitHub account.
    • コミットに使用したメールアドレスが、GitHubアカウントのメールアドレスに紐付けされていない。

3つ目の「メールアドレスの不一致」が原因だったようです。
(ローカルでコミットした時のメールアドレスはuser@example.comのように登録していたが、GitHubのメールアドレスはuser+github@example.comだった)
Email settingsで、user@example.comをサブメールアドレスとして登録、Verifyしたが反映されず。

追記(2019/7/4)

時間が経ってから確認したところ、反映されていました

結論

ローカルGitに登録する名前とメールアドレスは、ちゃんとしたものにしましょう。

  1. リポジトリを開いたときに、最初に表示されるブランチ。リポジトリのURL/branchesでも確認可能。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?