Re: [BUG?] Detaching head at checked out point does not work.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Saturday, May 12, 2007 - 11:26 am

Jan Hudec <bulb@ucw.cz> writes:


Yes, and it does as far as I know.

Do you have 3e0318a3?

commit 3e0318a3613ae8e89dcb1fc39d909145e64287b9
Author: Junio C Hamano <junkio@cox.net>
Date:   Thu Mar 29 01:02:50 2007 -0700

    checkout: allow detaching to HEAD even when switching to the tip of a branch
    
    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 master^0
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>

-
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [BUG?] Detaching head at checked out point does not work., Junio C Hamano, (Sat May 12, 11:26 am)