"gh config set -h github.com git_protocol ssh" 中的 -h 是什么?

What is -h in "gh config set -h github.com git_protocol ssh"?

这是在 Github 上设置身份验证协议的命令。我很好奇旗帜是什么意思。

来自 gh config set 的 API 文档:https://cli.github.com/manual/gh_config_set

Options

-h, --host string   Set per-host setting

这意味着键值设置将仅应用于该特定主机(例如“github.com”)。