We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b34fe81 + db77f2d commit a50b0dbCopy full SHA for a50b0db
pkg/cmd/config/config.go
@@ -18,6 +18,7 @@ func NewCmdConfig(f *cmdutil.Factory) *cobra.Command {
18
Current respected settings:
19
- git_protocol: "https" or "ssh". Default is "https".
20
- editor: if unset, defaults to environment variables.
21
+ - prompt: "enabled" or "disabled". Toggles interactive prompting.
22
`),
23
}
24
@@ -72,6 +73,8 @@ func NewCmdConfigSet(f *cmdutil.Factory) *cobra.Command {
72
73
Example: heredoc.Doc(`
74
$ gh config set editor vim
75
$ gh config set editor "code --wait"
76
+ $ gh config set git_protocol ssh
77
+ $ gh config set prompt disabled
78
79
Args: cobra.ExactArgs(2),
80
RunE: func(cmd *cobra.Command, args []string) error {
0 commit comments