CTA for ghes remote auth case
This commit is contained in:
parent
850a7ef243
commit
ff9ecd2944
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ func (rr *remoteResolver) Resolver() func() (context.Remotes, error) {
|
|||
}
|
||||
|
||||
if len(cachedRemotes) == 0 {
|
||||
remotesError = errors.New("none of the git remotes point to a known GitHub host")
|
||||
remotesError = errors.New("none of the git remotes configured for this repository point to a known GitHub host. To tell gh about a new GitHub host, please use `gh auth login`")
|
||||
return nil, remotesError
|
||||
}
|
||||
return cachedRemotes, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue