This script allows you to change the email address associated with all commits in a Git repository. It's useful when you need to update your email across an entire project history, for example, when transitioning from a personal to a professional email address.
- Changes both author and committer email addresses
- Works on all branches and tags
- Clone this repository
- Make the script executable:
chmod +x script.sh
./script.sh [email protected] [email protected]