I recently ran into an issue where my commits were not showing up on my github account. Initially I thought it had something to do with settings on my new machine as I started having this issue after I switched machines. However, the public activity page was listing all my contributions just fine which led me believe something else was wrong.
After spending some time trying to debug this, I contacted github. They told me I was using an email address 'robin@Robins-MacBook-Air.local' in my .gitconfig which was the system login. Due to this, changes were not being attributed to my account. To change this I ran the following command:
git config --global user.email <my_email_on_github_account>
The email needs to match an email address in your GitHub account in order for the commits to be properly attributed to you. However, I also wanted my previous commits to be attributed to me. For that I had to add 'robin@Robins-MacBook-Air. local' to my GitHub account here:
https://github.com/settings/ emails
I didn't need to verify the email address in order for this to work. Once I was done I contacted github support and they queued up another rebuild for me.
You can read their help guide here for more information:
https://help.github.com/ articles/why-are-my- contributions-not-showing-up- on-my-profile
After spending some time trying to debug this, I contacted github. They told me I was using an email address 'robin@Robins-MacBook-Air.local' in my .gitconfig which was the system login. Due to this, changes were not being attributed to my account. To change this I ran the following command:
git config --global user.email <my_email_on_github_account>
The email needs to match an email address in your GitHub account in order for the commits to be properly attributed to you. However, I also wanted my previous commits to be attributed to me. For that I had to add 'robin@Robins-MacBook-Air.
https://github.com/settings/
I didn't need to verify the email address in order for this to work. Once I was done I contacted github support and they queued up another rebuild for me.
You can read their help guide here for more information:
https://help.github.com/
Comments
Post a Comment