git-reauthor
Rewrite commit authorship history
TLDR
SYNOPSIS
git reauthor [options]
DESCRIPTION
git reauthor rewrites commit history to correct author (and/or committer) information. It updates names and email addresses across all local branches and tags for every commit whose identity matches the supplied old email.The command is useful for fixing incorrect attribution, consolidating identities after email changes, or correcting authorship before publishing a repository. Because it rewrites history and changes every commit SHA in the rewritten range, it should only be used on branches that have not been shared.
PARAMETERS
-o, --old-email EMAIL
Email address to match on existing commits.-e, --correct-email EMAIL
Replacement email address.-n, --correct-name NAME
Replacement author/committer name.-c, --use-config
Take the replacement name/email from the current git config values.-a, --all
Rewrite all identities found in history (interactive).-t, --type TYPE
Which identity to rewrite: author, committer, or both (default).--help
Display help information.
CAVEATS
Part of git-extras package. Rewrites history. Don't use on shared branches. All commit hashes change.
HISTORY
git reauthor is part of git-extras, providing a convenient wrapper for the common task of fixing author information.
SEE ALSO
git-commit(1), git-rebase(1), git-filter-repo(1)
