gh config
Change configuration for GitHub CLI. More information: https://cli.github.com/manual/gh_config.
- Display what Git protocol is being used:
gh config get git_protocol
- Set protocol to SSH:
gh config set git_protocol ssh
- Use
deltain side-by-side mode as the default pager for allghcommands:
gh config set pager 'delta --side-by-side'
- Set text editor to Vim:
gh config set editor
- Reset to default text editor:
gh config set editor ""
- Disable interactive prompts:
gh config set prompt
- Set a specific configuration value:
gh config set
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
