gpt4 book ai didi

github - 如何在 GitHub 上的问题评论中引用提交?

转载 作者:行者123 更新时间:2023-12-03 03:55:33 25 4
gpt4 key购买 nike

我找到了很多关于如何在 git 评论中引用 GitHub 问题的答案(使用 #xxx 符号)。我想在评论中引用提交,生成提交详细信息页面的链接?

最佳答案

要引用提交,只需编写其 SHA 哈希值,它就会自动转换为链接。

the commit 3e5c1e60269ae0329094de131227285d4682b665 solved the issue...

或者使用它的前缀

the commit 3e5c1e6 solved the issue...

另请参阅:

关于github - 如何在 GitHub 上的问题评论中引用提交?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8910271/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com