jkcl jkcl - 6 months ago 38
Git Question

Cross-referencing commits in github

I'd like to reference commits in other repos (in this case submodules) in the github issues of my main repo. Is it possible to do so without typing the full hyperlink in a way similar to how github creates a shortened hyperlink from the commit number?


The answer, so us lazy people can find it without following the link to the Autolinked References and URLs section of the GitHub help:


For example:


Short SHAs work as well (as long as they are unique):