git-commit 修改提交的 commit 信息 author

git-commit 修改提交的 commit 信息 author

当前文章内容迁移中,如有问题,请提交 issues 谢谢~~

1. 直接修改当前的作者信息

git commit --amend --reset-author

2. 对于已经 commit 的信息,可以使用如下命令

git commit --amend --author="NewAuthor "
参考文章
Prev:
使用 git-convert 回滚已经提交的 commit
Next:
minify-html 使用详解
Contents of this article
Contents of this article