We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
gh
gh auth refresh
1 parent d853ce5 commit b38ce24Copy full SHA for b38ce24
pkg/cmd/auth/refresh/refresh.go
@@ -129,7 +129,9 @@ func refreshRun(opts *RefreshOptions) error {
129
130
var additionalScopes []string
131
132
- credentialFlow := &shared.GitCredentialFlow{}
+ credentialFlow := &shared.GitCredentialFlow{
133
+ Executable: opts.MainExecutable,
134
+ }
135
gitProtocol, _ := cfg.Get(hostname, "git_protocol")
136
if opts.Interactive && gitProtocol == "https" {
137
if err := credentialFlow.Prompt(hostname); err != nil {
0 commit comments