Junio C Hamano <gitster@xxxxxxxxx> writes: > git branch andy_failed_experiment > git reset --hard HEAD~50 > ;# and perhaps revert Bob's change here as well So would I, and to complement Junio's answer: keeping a failure followed by a repair means this experiment will appear more or less forever in the output of "git log", "git blame", will break "git bisect" on that part of history, and so on. Putting it on a separate branch avoids this, and keeps it in a safe place to show newcommers: "see, here's what you should not do" ;-). -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html