Re: [RFC PATCH] status: reword message for a missing upstream branch
Show 12 quoted lines
> 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