Code

git-revert: revert an existing commit.
authorJunio C Hamano <junkio@cox.net>
Wed, 10 Aug 2005 05:30:17 +0000 (22:30 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 10 Aug 2005 06:38:49 +0000 (23:38 -0700)
commit045f82cbee3135a3d75256828b0cf101eedf38c8
tree986795a0ba6489139fbbf1c1b5efd602ff6d6136
parentd87449c553262a24df26648633c7c73b2db7dcc6
git-revert: revert an existing commit.

Given one existing commit, revert the change the patch
introduces, and record a new commit that records it.  This
requires your working tree to be clean (no modifications from
the HEAD commit).

This is based on what Linus posted to the list, with
enhancements he suggested, including the use of -M to attempt
reverting renames.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile
git-revert-script [new file with mode: 0755]