Using authorsΒΆ

First, select a project whose contributors you want to thank and change to its working directory (the directory in which the .git subdirectory resides).

[user@host ~]$ cd example-project

Then, run git with the log command and the --format option, redirecting standard output to authors.

[user@host example-project]$ git log --format=%an | authors

Finally, add and commit the newly-created AUTHORS file.

[user@host example-project]$ git add AUTHORS
[user@host example-project]$ git commit