Re: [PATCH/RFC] builtin-checkout: suggest creating local branch when appropriate to do so
Thomas Rast <trast@student.ethz.ch> writes:
Show 8 quoted lines
> Your idea is also a backwards incompatible change, so we can just as
> well implement the original suggestion and force scripts (or us) to
> use some other means when they want to detach. Say, why not just
> invent an option along the lines of
>
> git checkout {-d|--detach} $ref
>
> to make it explicit.Or can't you go the other way, say
git checkout -t $remote_tracking
to create a local branch forking from the named remote tracking branch?