git reauthor
Change details about an author identity. Since this command rewrites the Git history,
--forcewill be needed when pushing next time. Part ofgit-extras. More information: https://github.com/tj/git-extras/blob/main/Commands.md#git-reauthor.
- Change an author's email and name across the whole Git repository:
git reauthor ""
- Change the email and name to the ones defined in the Git config:
git reauthor
- Change the email and name of all commits, regardless of their original author:
git reauthor
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
