Skip to main content

Viewing commit details from your timeline

You can view details for commits from your profile's timeline. If you don't see commits you expect on your profile or can't find commit details from your profile page, the commit date and the commit author date may be different.

View commit details

  1. In the "Contribution activity" section of your profile, click the number of commits next to a specific repository.

Screenshot of the "Contribution activity" section of a user profile. A link, labeled "29 commits" is highlighted with an orange outline.

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:

  1. 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
    
  2. 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

  3. 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.