From 449e36d21bef4e96399f3a839fa67e685afed65e Mon Sep 17 00:00:00 2001 From: lumynou5 Date: Tue, 21 May 2024 11:05:33 +0800 Subject: [PATCH] Add information about filter-branch back --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 044f72a..b1618cf 100644 --- a/README.md +++ b/README.md @@ -336,6 +336,9 @@ $ git -c rebase.instructionFormat='%s%nexec GIT_COMMITTER_DATE="%cD" GIT_AUTHOR_ ``` `` is a commit before all your bad commits. If you need to change all of history in the current branch including the root of the branch, put `--root` there instead. + +If you need to change all of history, see the man page for `git filter-branch`. + Note this will change the history and a force push is required. ### I want to remove a file from the previous commit