commands.sh

gh config

all

Change configuration for GitHub CLI.

More info →

Examples (7)

Display what Git protocol is being used

gh config get git_protocol

Set protocol to SSH

gh config set git_protocol ssh

Use `delta` in side-by-side mode as the default pager for all `gh` commands

gh config set pager 'delta --side-by-side'

Set text editor to Vim

Reset to default text editor

gh config set editor ""

Disable interactive prompts

gh config set prompt disabled

Set a specific configuration value

gh config set key value
made by @shridhargupta | data from tldr-pages