Re: [PATCH] checkout -d: explicitly detach HEAD even when switching to the tip of a branch
- From
- Xavier Maillard <zedek@gnu.org>
- Date
- Mar 31, 2007, 14:55 UTC
- Message-ID
- <200703311455.l2VEtHO5021300@localhost.localdomain>
- In-Reply-To
- <euk8ps$vu1$1@sea.gmane.org>
> You cannot currently checkout the tip of an existing branch > without moving to the branch. > > This allows you to detach your HEAD and place it at such a > commit, with: > > $ git checkout -d master
What about
$ git checkout master^0
trick to force detaching?
I love this idea.
Xavier