{"meta":{"title":"在时间线上查看提交详细信息","intro":"您可以从个人资料的时间线查看提交的详细信息。 如果未在个人资料中看到您预期的提交，或者无法从个人资料页面找到提交详细信息，可能是因为提交日期与提交作者日期不同。","product":"帐户和个人资料","breadcrumbs":[{"href":"/zh/account-and-profile","title":"帐户和个人资料"},{"href":"/zh/account-and-profile/how-tos","title":"操作方法"},{"href":"/zh/account-and-profile/how-tos/contribution-settings","title":"贡献设置"},{"href":"/zh/account-and-profile/how-tos/contribution-settings/viewing-commit-details-from-your-timeline","title":"查看提交详细信息"}],"documentType":"article"},"body":"# 在时间线上查看提交详细信息\n\n您可以从个人资料的时间线查看提交的详细信息。 如果未在个人资料中看到您预期的提交，或者无法从个人资料页面找到提交详细信息，可能是因为提交日期与提交作者日期不同。\n\n## 查看提交详细信息\n\n1. 在个人资料的“Contribution activity”部分中，单击特定仓库旁边的提交数。\n\n![用户个人资料的“贡献活动”部分的屏幕截图。 标有“29 个提交”的链接用橙色边框突出显示。](/assets/images/help/profile/commit-link-on-profile-timeline.png)\n\n## 在时间线中查找缺失的提交\n\n如果在个人资料上找不到预期提交，说明系统可能已重写提交历史记录，导致出现不同的作者和提交日期。 按照以下步骤查找缺失的提交：\n\n1. 若要检查作者日期是否与提交日期不同，请使用 `git show` 命令：\n\n   ```shell\n   $ git show YOUR_COMMIT_SHA_NUMBER --pretty=fuller\n   commit YOUR_COMMIT_SHA_NUMBER\n   Author:     octocat USER_EMAIL\n   AuthorDate: Tue Apr 03 02:02:30 2018 +0900\n   Commit:     Sally Johnson USER_EMAIL\n   CommitDate: Tue Apr 10 06:25:08 2018 +0900\n   ```\n\n2. 如果日期不同，请修改GitHub URL 以按特定日期进行搜索：\n\n   * 按作者日期 (`2018-04-03`) 搜索：\n\n     `https://github.com/your-organization-or-personal-account/your-repository/commits?author=octocat&since=2018-04-03T00:00:00Z&until=2018-04-03T23:59:59Z`\n\n   * 按提交日期 (`2018-04-10`) 搜索：\n\n     `https://github.com/your-organization-or-personal-account/your-repository/commits?author=octocat&since=2018-04-10T00:00:00Z&until=2018-04-10T23:59:59Z`\n\n3. 在浏览器中打开修改后的 URL 以查看提交详细信息。\n\n## 后续步骤\n\n如果没有在时间表中看到预期的提交，则可能 Git 中的提交历史记录已重写，并且提交创作日期与提交日期不同。 有关其他可能性，请参阅“[排查缺少贡献的问题](/zh/account-and-profile/how-tos/contribution-settings/troubleshooting-missing-contributions)”。\n\n有关其他参考信息，请参阅“[个人资料贡献引用](/zh/account-and-profile/reference/profile-contributions-reference#how-github-uses-the-git-author-date-and-commit-date)”。"}