git am --abort
commit3e5057a8b4499f7b000cd465a3adf6ef22b89f2a
authorNanako Shiraishi <nanako3@lavabit.com>
Wed, 16 Jul 2008 10:39:10 +0000 (16 19:39 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sat, 19 Jul 2008 22:26:28 +0000 (19 15:26 -0700)
treee8c00bba661904dd95375a1cf05c8213f69883ae
parentfcab40a389e99786a8276108cdbc1cda8caf502f
git am --abort

After failing to apply patches in the middle of a series, "git am --abort"
lets you go back to the original commit.

[jc: doc/help update from Olivier, and fixups for "am -3" squashed in]

Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: Olivier Marin <dkr@freesurf.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-am.txt
git-am.sh
t/t4151-am-abort.sh [new file with mode: 0755]