Staging
v0.8.1
https://github.com/git/git
Revision eb3204dfbb71626f83a95d2ab24569226a39c601 authored by Nicolas Pitre on 26 January 2007, 16:50:06 UTC, committed by Junio C Hamano on 27 January 2007, 06:38:00 UTC
Doing:

$ git checkout HEAD^

Generates the following message:

|warning: you are not on ANY branch anymore.
|If you meant to create a new branch from the commit, you need -b to
|associate a new branch with the wanted checkout.  Example:
|  git checkout -b <new_branch_name> HEAD^

Of course if the user does as told at this point the created branch
won't be located at the expected commit.  Reword this message a bit to
avoid such confusion.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent d848804
History
Tip revision: eb3204dfbb71626f83a95d2ab24569226a39c601 authored by Nicolas Pitre on 26 January 2007, 16:50:06 UTC
fix suggested branch creation command when detaching head
Tip revision: eb3204d
File Mode Size
xdiff.h -rw-r--r-- 2.6 KB
xdiffi.c -rw-r--r-- 14.5 KB
xdiffi.h -rw-r--r-- 1.8 KB
xemit.c -rw-r--r-- 4.8 KB
xemit.h -rw-r--r-- 1.1 KB
xinclude.h -rw-r--r-- 1.2 KB
xmacros.h -rw-r--r-- 1.9 KB
xmerge.c -rw-r--r-- 10.5 KB
xprepare.c -rw-r--r-- 10.7 KB
xprepare.h -rw-r--r-- 1.1 KB
xtypes.h -rw-r--r-- 1.6 KB
xutils.c -rw-r--r-- 6.7 KB
xutils.h -rw-r--r-- 1.7 KB

back to top