lwad 6c1b0351d8 | ||
---|---|---|
README.md | ||
git_reauthor.sh |
README.md
Git Reauthor
When migrating from one remote repo to another, you might use a different git email address / username.
If that's you - fret not! You can change the email address and username on your commits with this handy script.
Usage
Without Arguments
- Run the
git_reauthor.sh
script. - Provide the email address that was on your old commits.
- Provide your new email address and username.
With Arguments
- Run the
git_reauthor.sh
script with these arguments in order:- old email address
- new email address
- new username
That's it! If you're not moving to a new service, but you just want to change your email/username, you'll need to force push.