[help] my contributions not shown #22657
-
this reposiitory shows that I (pjones123) have only made 2 commits. I have actually made 9 on the current master branch, but also many more on other now deleted branches, which is shown here. It appears to count commits by other users correctly, including counting commits on now deleted branches. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hello and welcome to our community! If you notice at the top of the commit graph that you link to, it states:
If you execute the command:
You’ll see the following output:
So the graph is correct given the two restrictions stated. Unfortunately, because of this, there isn’t a way to show the other commits you’ve submitted in the given graph. On the other hand, I do see a number of other commits attributed to “Patrick Jones”. If those commits were authored by you also, you could add the email address associated with those commits to your GitHub account and they would then be counted as authored by your @pjones123 account. You can check our help documentation on properly configuring your account to attribute commits for more information. Let us know if you have more questions. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response! The commits from “Patrick Jones” are indeed from me as well. I presume the difference is due to the fact that those commits were made from my pc using git bash rather than online? How would I go about making those show for the same account? They have the same email, and as far as I’m aware, they are the same account? I was able to make commits with it while the repo was private, so they must be the same? Thanks for any more help you can provide. |
Beta Was this translation helpful? Give feedback.
-
pjones123:
When those commits were created, you were using a different email address for them. For example: Commits attributed to @pjones123:
Commits attributed to “Patrick Jones”:
You can get the exact email address used by using the So, as I mentioned in my previous reply, you would need to add the email address associated with those commits to your GitHub account. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much! I added the email address to my GitHub account and it all seems to be working. Still slightly confused as to how I had write access to the repo while it was private, but eh, it works now so that doesn’t really matter. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
pjones123:
No need to worry. Your commit email address doesn’t form part of your credential access. Your credentials (username and password/personal access token or SSH key) are likely stored in Keychain or similar. The email address you use for your commits is independent of that. |
Beta Was this translation helpful? Give feedback.
When those commits were created, you were using a different email address for them. For example:
Commits attributed to @pjones123:
Commits attributed to “Patrick Jones”:
You can get the exact email address used b…