aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-09 22:30:17 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-09 23:38:49 -0700
commit045f82cbee3135a3d75256828b0cf101eedf38c8 (patch)
tree986795a0ba6489139fbbf1c1b5efd602ff6d6136 /Makefile
parentd87449c553262a24df26648633c7c73b2db7dcc6 (diff)
downloadgit-045f82cbee3135a3d75256828b0cf101eedf38c8.tar.gz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c14ec4f82a..5efb6268a1 100644
--- a/Makefile
+++ b/Makefile
@@ -70,6 +70,7 @@ SCRIPTS=git git-apply-patch-script git-merge-one-file-script git-prune-script \
SCRIPTS += git-count-objects-script
# SCRIPTS += git-send-email-script
+SCRIPTS += git-revert-script
PROG= git-update-cache git-diff-files git-init-db git-write-tree \
git-read-tree git-commit-tree git-cat-file git-fsck-cache \