If I have 200 commits that I have pushed with wrong author information in git config --global user.email
and git config --global user.name
. How can I change these commits afterwards in a command without having to go through every one of each?
All commits are of the same author and some commits are between with a different author. So is it possible to iterate over each commit FROM and TO commits and send a git push --force-with-lease
command to update all of these in the history of the master branch?
Any idea?