I have a git repository in which there have been a bunch of merge conflicts, especially due to CRLF vs LF issues (ugh). Anyway, I want to change a commit message on some past commit, and otherwise keep everything as-is in the code. I neither have rerere.enabled
, nor do I have a historical database, nor do I want to have one. I just want to tell git-rebase to "Keep everything just the same", except for a commit comment which is pure meta-data.
Can I do this?
Related questions:
- git reword shows merge conflict during rebase, however pick works correctly
(in which-r
is specified; and the answer suggests usingrerere
) - Smarter rebase avoiding redundant work?