Re: [PATCH] detached HEAD -- finishing touches

From: Alex Riesen <raa.lkml@gmail.com>
Date: 2007-02-01 20:54:56
On 2/1/07, Alex Riesen <raa.lkml@gmail.com> wrote:
> On 2/1/07, Junio C Hamano <junkio@cox.net> wrote:
> >     [git.git (master)]$ git checkout master^
> >     M       git-checkout.sh
> >     Note: you are not on any branch and are at commit "master^"
> >     If you want to create a new branch from this checkout, you may do so
> >     (now or later) by using -b with the checkout command again. Example:
> >       git checkout -b <new_branch_name>
>
> How do you detach HEAD _without_ changing working tree at all?
> IOW, is there a "git checkout --detach"?
>

Ah.. I see, the "obscure, but useful trick".
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Feb 01 20:55:38 2007

This archive was generated by hypermail 2.1.8 : 2007-02-01 20:59:37 EST