[gh repo view] Improve error message for forked repo
This commit is contained in:
parent
de9971d718
commit
e1d1f21525
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ func (r *ResolvedRemotes) BaseRepo(io *iostreams.IOStreams) (ghrepo.Interface, e
|
|||
fmt.Fprintln(io.Out)
|
||||
|
||||
return nil, errors.New(
|
||||
"please run `gh repo set-default` to select a default remote repository.")
|
||||
"please run `gh repo set-default` to select a default remote repository.\nTo learn more about the default repository, run: gh repo set-default --help")
|
||||
}
|
||||
|
||||
func (r *ResolvedRemotes) HeadRepos() ([]*api.Repository, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue