jkcl jkcl - 1 year ago 84
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?

Answer Source

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):

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download