author | Junio C Hamano <junkio@cox.net> | |
Wed, 10 Aug 2005 05:30:17 +0000 (22:30 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 10 Aug 2005 06:38:49 +0000 (23:38 -0700) | ||
commit | 045f82cbee3135a3d75256828b0cf101eedf38c8 | |
tree | 986795a0ba6489139fbbf1c1b5efd602ff6d6136 | tree | snapshot |
parent | d87449c553262a24df26648633c7c73b2db7dcc6 | commit | diff |
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>
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 | diff | blob | history | |
git-revert-script | [new file with mode: 0755] | blob |