gh config
Change configuration for GitHub cli.
- Display what Git protocol is being used:
gh config get git_protocol
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}'
gh config set editor {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}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).