I find a lot of answers on how to reference a GitHub issue in a git comment (using the #xxx notation).
I'd like to reference a commit in my comment, generating a link to the commit details page?
Github – How to reference a commit in an issue comment on GitHub
commitgithubissue-tracking
Related Topic
- Git – How to rollback a git repository to a specific commit
- Git – How to update or sync a forked repository on GitHub
- GitHub relative link in Markdown file
- Git – Make the current commit the only (initial) commit in a Git repository
- Git – Delete forked repo from GitHub
- Git – Find a commit on GitHub given the commit hash
- Github – How to add images to README.md on GitHub
Best Answer
To reference a commit, simply write its SHA-hash, and it'll automatically get turned into a link.
See also: