Files
tldr/pages.zh/common/git-coauthor.md

395 B

git coauthor

将另一个作者添加到最新的提交中。由于此命令会重写 Git 历史,因此在下次推送时需要使用 --force。 这是 git-extras 的一部分。 更多信息请访问:https://github.com/tj/git-extras/blob/master/Commands.md#git-coauthor

  • 将额外的作者插入到最后的 Git 提交中:

git coauthor {{name}} {{name@example.com}}