NAME
git_log_ch_usrdata - Change username and email address in git log
SYNOPSIS
git_log_ch_usrdata --old_email OLD_EMAIL --new_email NEW_EMAIL  \
                   --new_user NEW_USER [--no_credentials]
git_log_ch_usrdata --help | --version
or, shorter:
git_log_ch_usrdata --oe OLD_EMAIL --ne NEW_EMAIL --nu NEW_USER [--nc]
DESCRIPTION
In case that you are using an incorrect username and/or email address in a Git repository, you can use this script to correct the Git log.
Change to your git repo directory and run the script like this:
git_log_ch_usrdata --old_email OLD_EMAIL --new_email NEW_EMAIL --new_user NEW_USER
The options can be written shorter like this:
git_log_ch_usrdata --oe OLD_EMAIL --ne NEW_EMAIL --nu NEW_USER
By default, the script also stores NEW_EMAIL and NEW_USER via git config credential.helper store. This can be switched off by specifying the --no_credentials (or --nc) option.
SEE ALSO
App::ghmulti, App::git_log_ch_usrdata
LICENSE AND COPYRIGHT
This software is copyright (c) 2025 by Klaus Rindfrey.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.