Github提交消息链接 [英] Github commit message links

查看:91
本文介绍了Github提交消息链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能创建一个提交消息并链接到其他存储库提交?

Is it possible to create a commit message with link to other repository commit?

例如。例如 [Username \ Repo\commitHash]

用法示例:发生在一些框架的提交中,我想链接到我自己的提交中的非常提交,更新使用此框架的代码。

Usage example: if some bc break would happen in some framework's commit, I'd like to link to this very commit in my own commits updating my code which uses this framework.

推荐答案

我自己正在寻找这样的东西。找到它:

I was searching for something like this myself. Found it on:

https://help.github.com/articles/autolinked-references-and-urls/#commit-shas

<<username>>/<<repo>>@<<commitHash>>

当然没有尖括号:)

这篇关于Github提交消息链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆