Generating an AUTHORS file in git

February 21, 2011

Looking for an automated way of generating an AUTHORS file for your Open Source project? git makes this very simple:

git shortlog -se | cut -c8- > AUTHORS

I prefer this because of the .mailmap support.