Skip to content

Commit ff9ecd2

Browse files
committed
CTA for ghes remote auth case
1 parent 850a7ef commit ff9ecd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/factory/remote_resolver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (rr *remoteResolver) Resolver() func() (context.Remotes, error) {
7272
}
7373

7474
if len(cachedRemotes) == 0 {
75-
remotesError = errors.New("none of the git remotes point to a known GitHub host")
75+
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`")
7676
return nil, remotesError
7777
}
7878
return cachedRemotes, nil

0 commit comments

Comments
 (0)