-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Top level command to view various objects in the browser #217
Comments
If you're on a non-default branch, commit, or tag, I think that should be opened on GitHub.com, instead of just the main repo view. It would also be useful to be able to reveal a specific file on GitHub:
(This would show the the |
I really like the |
gh view
Some inspirations from lab (Lab wraps Git or Hub): |
would be nice if the proposed command |
+1 — a feature I sorely miss from |
I'll be on PTO the next two weeks so I wanted to leave some thoughts here. I don't have very strong opinions around implementation for this command but I do have strong feelings about naming it. No matter what name we go with, we'll be setting a precedent. To date we've been consistent with the format noun verb$ gh web 123 # alias for gh web view 123
$ gh web view 123 # open thing ID 123 in browser
$ gh web shorten 123 # prints shortened URL for thing ID 123 Pro:
Con:
verb$ gh browse 123 Pro:
Con:
my preferencesI'm ok with either approach but am ultimately slightly more inclined towards (NB: we could also go with |
Just tried
|
A feature I miss from hub browse -- commit/b61bb766c8da7c6d08185a4588be72a0c189f011 I would often use this when I needed to share a link to a commit. |
The For additional bug reports/feature requests, please open separate issues. 🙇 |
The text was updated successfully, but these errors were encountered: