1
0
mirror of https://github.com/k88hudson/git-flight-rules.git synced 2025-06-15 20:34:13 -03:00

2 Commits

Author SHA1 Message Date
ae38c27782 Merge 449e36d21b into b752196266 2024-05-21 11:07:06 +08:00
449e36d21b Add information about filter-branch back 2024-05-21 11:05:33 +08:00

View File

@ -336,6 +336,9 @@ $ git -c rebase.instructionFormat='%s%nexec GIT_COMMITTER_DATE="%cD" GIT_AUTHOR_
```
`<commit>` 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