【问题标题】:What is -h in "gh config set -h github.com git_protocol ssh"?“gh config set -h github.com git_protocol ssh”中的 -h 是什么?
【发布时间】:2021-01-31 22:32:36
【问题描述】:

这是一个在 Github 上设置认证协议的命令。我很好奇旗帜的含义。

【问题讨论】:

    标签: github github-cli


    【解决方案1】:

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

    选项

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

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

    【讨论】:

      猜你喜欢
      • 2010-09-22
      • 2019-10-19
      • 1970-01-01
      • 2018-06-30
      • 2014-07-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-04-01
      相关资源
      最近更新 更多