$ git reset --soft HEAD^
$ ... do something else to come up with the right tree ...
- $ git commit -c ORIG_HEAD
+ $ git commit -c ORIG_HEAD
+
From 47ea30e85eb01718d47adb2ef1ae073295cdcc7d Mon Sep 17 00:00:00 2001
From: Junio C Hamano
$ git reset --soft HEAD^
$ ... do something else to come up with the right tree ...
- $ git commit -c ORIG_HEAD
+ $ git commit -c ORIG_HEAD
+
but can be used to amend a merge commit.
@@ -506,7 +507,7 @@ Junio C Hamano <junkio@cox.net>