Github 引用 Issues、Pull requests 和提交记录
在 GitHub 中,对 Issues、Pull requests 和提交记录的引用将自动转换为短链接
规则
引用类型 | 源引用 | 短链接 |
---|---|---|
Issues 或 Pull requests URL | https://github.com/JetBrains/kotlin/pull/4645 | #4645 |
# 和 Issues 或 Pull requests 编号 |
#4645 | #4645 |
GH- 和 Issues 或 Pull requests 编号 |
GH-4645 | #4645 |
Username/Repository# 和 Issues 或 Pull requests 编号 |
JakeWharton/timber#315 | #315 |
Organization_name/Repository# 和 Issues 或 Pull requests 编号 |
JetBrains/kotlin#4645 | #4645 |
提交 URL | https://github.com/JakeWharton/timber/commit/5f4bcd9922cbf94cf7486852ccfc8fd64d506988 | 5f4bcd9 |
SHA | 5f4bcd9922cbf94cf7486852ccfc8fd64d506988 | 5f4bcd9 |
User@SHA |
JakeWharton@5f4bcd9922cbf94cf7486852ccfc8fd64d506988 | JakeWharton@5f4bcd9 |
Username/Repository@SHA |
JakeWharton/timber@5f4bcd9922cbf94cf7486852ccfc8fd64d506988 | JakeWharton/timber@5f4bcd9 |
参考
Github 引用 Issues、Pull requests 和提交记录
https://plain-dev.com/dev/github-autolinked-references-and-urls/