hosted-git-info
hosted-git-info copied to clipboard
Feature Request: Link Directly to a Commit
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
Perhaps I missed it, but I don't see a way to generate a link directly to a specific commit. For instance:
- https://github.com/microsoft/vscode-extension-samples/commit/519619525e928dc671db2ea83b1b855431eb49ad
- https://gitlab.com/dmfay/massive-js/-/commit/d3d36d4b980d99af2eaffe3da898b7961bd65a92
(just some random repos I had handy)
Expected Behavior
Create a new method called .commit()
that takes a committish as the first argument, and any necessary options as the second argument, and will return a URL to that specific commit.
Steps To Reproduce
na
Environment
na