gh config

Display or change configuration settings for gh.

Current respected settings:

  • git_protocol: the protocol to use for git clone and push operations {https ssh} (default https)
  • editor: the text editor program to use for authoring text
  • prompt: toggle interactive prompting in the terminal {enabled disabled} (default enabled)
  • pager: the terminal pager program to send standard output to
  • http_unix_socket: the path to a Unix socket through which to make an HTTP connection
  • browser: the web browser to use for opening URLs

Available commands

See also