This Bash script helps you change your old commits author name and email in many repositories.
This script uses the powerful command git push -f
.
You should be cautious when using the script. YOU HAVE BEEN WARNED.\
With great power comes great responsibility.
To execute.
$ git clone https://github.com/konmaz/changeComitAuthorBash.git
$ cd changeComitAuthorBash/
$ chmod +x script.sh
First in the config.txt
edit:
OLD EMAIL
NEW NAME
NEW EMAIL
In the repos.txt
put the desired repositories to change the author name and email:
konmaz/changeComitAuthorBash
...
Runing
$ ./script.sh
These scripts come without warranty of any kind. Use them at your own risk. I assume no liability for the accuracy, correctness, completeness, or usefulness of any information provided by this repository nor for any sort of damages using these scripts may cause.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.