-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
enhancementa request to improve CLIa request to improve CLIgh-browserelating to the gh browse commandrelating to the gh browse command
Description
Describe the feature or problem you’d like to solve
Lines 79 to 86 in 441beb9
| $ gh browse main.go:312 | |
| #=> Open main.go at line 312 | |
| $ gh browse main.go --branch bug-fix | |
| #=> Open main.go with the repository at head of bug-fix branch | |
| $ gh browse main.go --commit=77507cd94ccafcf568f8560cfecde965fcfa63 | |
| #=> Open main.go with the repository at commit 775007cd |
It's not explicitly clear in the provided examples whether the "browse" command can be used to open a directory. The given illustration suggests that it's possible to open only a file, rather than a directory.
Proposed solution
Add another help message to the browse command directly specifying that you can open a directory from your repository in your remote repository.
Metadata
Metadata
Assignees
Labels
enhancementa request to improve CLIa request to improve CLIgh-browserelating to the gh browse commandrelating to the gh browse command