(Currently I'm fixing my old repositories before publishing.)
I already know how to rewrite commit author e-mail and name in git history.
I have a git project with submodules. I want to rewrite history of these submodules, but because I fast-forward these submodules during development, I want to modify links from main git repo pointing to some of these submodules commits to links pointing to new commits after submodule rebase. I.e. I need to rebase git submodule in conjunction with rebasing git repository containing this submodule. (Sorry, for too long text, I don't know how to describe that shorter.)
How to rewrite git submodule history in sync with git repository history containing the submodule?