user-manual: reset to ORIG_HEAD not HEAD to undo merge
commit1c73bb0ef7bf6632d1aa5d6760bba7ea4e336fe9
authorJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 19 Feb 2007 23:46:09 +0000 (19 18:46 -0500)
committerJunio C Hamano <junkio@cox.net>
Mon, 5 Mar 2007 00:47:32 +0000 (4 16:47 -0800)
treea71aed30534255232eb7f53d1d00ea28556c9887
parent0bc25a78428a7dc3a3acf00eb9637424419c3afd
user-manual: reset to ORIG_HEAD not HEAD to undo merge

As Linus pointed out recently on the mailing list,

git reset --hard HEAD^

doesn't undo a merge in the case where the merge did a fast-forward.  So
the rcommendation here is a little dangerous.

Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/user-manual.txt