Files
cheatsheet-tldr/tldr/git-coauthor
2025-12-31 00:22:26 +00:00

15 lines
462 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`