View commit details
- In the "Contribution activity" section of your profile, click the number of commits next to a specific repository.
Finding missing commits in your timeline
If you can't find expected commits on your profile, the commit history may have been rewritten, creating different author and commit dates. Follow these steps to locate missing commits:
-
To check if the author date differs from the commit date, use the
git show
command:$ 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 dates differ, modify the GitHub URL to search by the specific date:
-
To search by author date (
2018-04-03
):http://github.com/your-organization-or-personal-account/your-repository/commits?author=octocat&since=2018-04-03T00:00:00Z&until=2018-04-03T23:59:59Z
-
To search by commit date (
2018-04-10
):http://github.com/your-organization-or-personal-account/your-repository/commits?author=octocat&since=2018-04-10T00:00:00Z&until=2018-04-10T23:59:59Z
-
-
Open the modified URL in your browser to view the commit details.
Next steps
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 Troubleshooting missing contributions.
For other reference information, see Profile contributions reference.