gh-config

Change configuration for GitHub cli.

TLDR

Display what Git protocol is being used

$ gh config get git_protocol
copy

Set protocol to SSH

$ gh config set git_protocol [ssh]
copy

Set text editor to Vim

$ gh config set editor [vim]
copy

Reset to default text editor

$ gh config set editor [""]
copy

Disable interactive prompts

$ gh config set prompt [disabled]
copy

Set a specific configuration value

$ gh config set [key] [value]
copy

Copied to clipboard
free 100$ digital ocean credit