From: Harald Nordgren Date: Fri, 09 Oct 2026 18:47:21 GMT Subject: Re: [RFC PATCH] status: reword message for a missing upstream branch Message-ID: In-Reply-To: <20261009134004.188952-1-gitter.spiros@gmail.com> > Clone an empty repository, make a commit and run "git status": > > $ git init --bare empty.git > $ git clone empty.git work && cd work > $ git commit --allow-empty -m initial > $ git status > On branch master > Your branch is based on 'origin/master', but the upstream is gone. > (use "git branch --unset-upstream" to fixup) > > The upstream is not gone, it was never there: the remote is empty, > so origin/master has not been created yet. The idea makes sense to me! Harald