sincecutoff.com
← all changes

gh repo set-default accepts git remote names

Introduced 2026-01-14 · score 0.93

HOW TO USE IT

When setting a local clone’s default repository to a named Git remote, run `gh repo set-default <remote-name>`.

gh repo set-default origin

WHY THIS HELPS

Set a repository's default using a named git remote.

REQUIREMENTS AND LIMITATIONS

  • Version: v2.85.0
  • <repository>: Repository to set as default; the documented example accepts a Git remote name.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card