-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
bugSomething isn't workingSomething isn't workingdocshelp wantedContributions welcomeContributions welcomepriority-3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic
Description
Describe the feature or problem you’d like to solve
I want to get the URL for the latest commit (assuming it's pushed). I use gh browse -cn to get it in the terminal. It returns a "tree" URL and not a "commit" URL. This matters because I cannot view previous/next commits if I use this URL.
Proposed solution
Return a "commit" link instead of a "tree" link. Example (tree -> commit):
- Current -
https://github.com/exemplar-codes/codevolution-nodejs/tree/dbe29aebea4d32343f6f12c2f8d6ab62157a9595 - Goal -
https://github.com/exemplar-codes/codevolution-nodejs/commit/dbe29aebea4d32343f6f12c2f8d6ab62157a9595
Or at least have an option that does this (if backward compatibility is a goal)
Additional context
- Feels like a missing feature - StackOverflow comment
- On a GitHub text area, (like a comment, this issue), the two links are rendered differently. View here (pasted verbatim):
Tree: https://github.com/exemplar-codes/codevolution-nodejs/tree/dbe29aebea4d32343f6f12c2f8d6ab62157a9595
Commit: exemplar-codes/codevolution-nodejs@dbe29ae
Adding a screenshot for the future:

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocshelp wantedContributions welcomeContributions welcomepriority-3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic