Skip to content

Mention the gh SSH Protocol Opt-In in the Host Setup READMEs #2590

Closed

Description

@ptr727

The fix for #672 (branch feature/wsl-672) gives both setup-github scripts an opt-in, --gh-ssh-protocol on Linux and -GhSshProtocol on Windows, that sets gh's github.com git protocol to ssh during a configure run. A plain configure only reports it.

docs/host-setup.md "GitHub CLI" documents the flag. The per-platform READMEs do not:

  • host-setup/linux/README.md "GitHub Setup" explains the --shared-checkout opt-in and why it exists, and has no matching line for --gh-ssh-protocol.
  • host-setup/windows/README.md has no mention of -GhSshProtocol either.

Those files were outside that change's file set, so the mention is filed here rather than added there. The fix is a short bullet in each README, matching the existing --shared-checkout one: the protocol is reported by default, set only on the opt-in, and the opt-in warns and sets nothing where gh is absent or not logged in.

Found by the local review pass on the #672 change.

Activity

  1. added
    documentation
    pre-existing
    introduced
    and removed
    pre-existing
    on Oct 8, 2026
  2. added a commit that references this issue on Oct 9, 2026
    2a9189f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationintroduced

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions