From: Harald Nordgren Date: Mon, 02 Feb 2026 23:03:02 GMT Subject: Re: [PATCH] revisions: add @{default} shorthand for default branch Message-ID: <20260202230302.13009-1-haraldnordgren@gmail.com> In-Reply-To: > That just makes discovering the name of the remote the "interesting" part… Yeah, this is true! Discovering which is the upstream remote is still non-trivial. It's aggravated because the GitHub 'gh' tool will rename 'origin' to 'upstream' when forking + creating PR from the CLI. Which I why I do this becomes necessary git remote | rg '^(origin|upstream)$' | tail -n1 Harald