Skip to content

Commit

Permalink
reword the detached head message a little again
Browse files Browse the repository at this point in the history
Seems clearer this way, to me at least.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Nicolas Pitre authored and Junio C Hamano committed Feb 2, 2007
1 parent e4b0e4a commit 92cf956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-checkout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ then
detached="$new"
if test -n "$oldbranch"
then
detach_warn="Note: you are not on any branch and are at commit \"$new_name\"
detach_warn="Note: moving to \"$new_name\" which isn't a local branch
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>"
Expand Down

0 comments on commit 92cf956

Please sign in to comment.