In my organization, we have a commit hook that rejects commits if ANY commit in the tree has an author value that doesn't match a particular pattern. This is normally used to catch faulty commits before they are merged to a target branch. The fact that it also scans existing commits in the target branch usually doesn't matter, as the hook prevents those "tainted" commits from being merged.
However, the people who maintain that hook had a production problem yesterday that resulted in all developers being blocked. So, they turned it off until they could figure out why it was breaking.
I was immediately concerned about this, because this meant that it's possible that a developer who wasn't paying full attention could possibly merge one or more commits with a bad author value.
As I expected, my concern was realized, as one developer managed to do this.
We have an annoying workaround that can make the hook pass the validation even in the presence of some "tainted" commits in the target branch (requires creating the source branch in the central repository (BitBucket) instead of the local repo), but I really don't want to have to do that, or have all the other developers do that.
I really want to just fix the already merged commits.
So, that means interactive rebase. I understand the process, even how to change the author value for each commit. What I'm concerned about are the warnings about "rewriting history", and whether that can break anything. Interactive rebase is fine when you're working on a pull request branch that is only used by you, and isn't merged to the target branch yet. I'm talking about doing this on "master".
However, the ONLY change I'm going to make to any of these commits is the author value. If that is the only change I make, what risks are there? Does this remove the main "rewriting history" risk?