In the "Contribution activity" section of your profile page, you can click the number of commits next to a specific repository to see more details about your commits from that time period, including a diff of specific changes made in a repository.
If you click a commit link from your profile page and don't see all of the expected commits on the repository's commits page, then it's possible the commit history in Git was rewritten and the commit author date and the commit date are different.
In Git, the author date is when someone first creates a commit with
git commit. The commit date is identical to the author date unless someone changes the commit date by using
git commit --amend, a force push, a rebase, or other Git commands.
On your profile page, the author date is used to calculate when a commit was made. Whereas, in a repository, the commit date is used to calculate when a commit was made in the repository.
Most often, the author date and commit date are the same but you may notice that your commit sequence is out of order if the commit history is changed. For more information, see "Why are my contributions not showing up on my profile?"
You can use the
git show command with the
--pretty=fuller flag to check if the commit author date and commit date are different.
$ git show YOUR_COMMIT_SHA_NUMBER --pretty=fuller commit YOUR_COMMIT_SHA_NUMBER Author: octocat USER_EMAIL AuthorDate: Tue Apr 03 02:02:30 2018 +0900 Commit: Sally Johnson USER_EMAIL CommitDate: Tue Apr 10 06:25:08 2018 +0900
If the author and commit date are different, you can manually change the commit date in the URL to see the commit details.
This URL uses the author date of
This URL uses the commit date of
When you open the URL with the modified commit date, you can see the commit details.
If you're not seeing expected commits on your timeline, it's possible the commit history in Git was rewritten and the commit author date and the commit date are different. For other possibilities, see "Why are my contributions not showing up on my profile?"