From 3c930917f4656b260daebf04b610c496a9692ef9 Mon Sep 17 00:00:00 2001 From: Jye Horan Date: Wed, 1 May 2024 21:44:38 +0800 Subject: [PATCH] Update autolinked-references-and-urls.md (#50364) Co-authored-by: ausdrew --- .../autolinked-references-and-urls.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls.md b/content/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls.md index 43afddf3f6..bdb41d3902 100644 --- a/content/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls.md +++ b/content/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls.md @@ -70,6 +70,10 @@ References to a commit's SHA hash are automatically converted into shortened lin | User@SHA | jlord@a5c3785ed8d6a35868bc169f07e40e889087fd2e | [jlord@a5c3785](https://github.com/jlord/sheetsee.js/commit/a5c3785ed8d6a35868bc169f07e40e889087fd2e) | `Username/Repository@SHA` | `jlord/sheetsee.js@a5c3785ed8d6a35868bc169f07e40e889087fd2e` | [`jlord/sheetsee.js@a5c3785`](https://github.com/jlord/sheetsee.js/commit/a5c3785ed8d6a35868bc169f07e40e889087fd2e) | +### Troubleshooting referencing commit SHAs + +When referencing a commit from a private repository inside of a commit message, the commit SHA will only be shortlinked if at least one of the authors or committers of the commit have at least read access to the referenced commit. + ## Custom autolinks to external resources {% data reusables.repositories.autolink-references %}