snippetbashTip
git coauthor — Add another author to the latest commit. Since this command rewrites the Git history, `--force` will
Viewed 0 times
thecommandanotherlatestauthorcligit coauthoradd
Problem
How to use the
git coauthor command: Add another author to the latest commit. Since this command rewrites the Git history, --force will be needed when pushing next time. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-coauthor>.Solution
git coauthor — Add another author to the latest commit. Since this command rewrites the Git history, --force will be needed when pushing next time. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-coauthor>.Insert an additional author to the last Git commit:
git coauthor {{name}} {{name@example.com}}Code Snippets
Insert an additional author to the last Git commit
git coauthor {{name}} {{name@example.com}}Context
tldr-pages: common/git coauthor
Revisions (0)
No revisions yet.