checkout: accord documentation to what git does
Signed-off-by: Nicolas Sebrecht <nicolas.s.dev@gmx.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
0e418e568f
commit
142183d096
@ -238,7 +238,7 @@ the above checkout would fail like this:
|
|||||||
+
|
+
|
||||||
------------
|
------------
|
||||||
$ git checkout mytopic
|
$ git checkout mytopic
|
||||||
fatal: Entry 'frotz' not uptodate. Cannot merge.
|
error: You have local changes to 'frotz'; not switching branches.
|
||||||
------------
|
------------
|
||||||
+
|
+
|
||||||
You can give the `-m` flag to the command, which would try a
|
You can give the `-m` flag to the command, which would try a
|
||||||
|
Reference in New Issue
Block a user