LinuxCommandLibrary

git-coauthor

Add another author to the latest commit. Since this command rewrites the Git history, `--force` will be needed when pushing next time.

TLDR

Insert an additional author to the last Git commit

$ git coauthor [name] [name@example.com]
copy

SYNOPSIS

git-coauthor <co-author> <co-author-email>

DESCRIPTION

Add a co-author to the last commit

OPTIONS

<co-author>

The username of the co-author you want to add.

<co-author-email>

The email address of the author you want to add.

EXAMPLES

$ git coauthor user user@email.com

REPORTING BUGS

<https://github.com/tj/git-extras/issues>

SEE ALSO

<https://github.com/tj/git-extras>

AUTHOR

Written by Jacob Herrington jacobherringtondeveloper@gmail.com

Copied to clipboard