Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-01-26 19:50:06 +0300
committerJunio C Hamano <junkio@cox.net>2007-01-27 09:38:00 +0300
commiteb3204dfbb71626f83a95d2ab24569226a39c601 (patch)
tree29d65823a341fcc98be6974e37d3dccce34179e0 /Documentation
parentd848804a895254583095b5c23ebb5d5f5a8891a3 (diff)
fix suggested branch creation command when detaching head
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions