-
-
Save vladikoff/d3f5ec1f570e66fb7faff329d01012b7 to your computer and use it in GitHub Desktop.
Generate an AUTHORS file based on the output of git shortlog.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# Generate an AUTHORS file based on the output of git shortlog. It uses ABC | |
# order, strips out leading spaces and numbers, then filters out specific | |
# authors. | |
git shortlog -se \ | |
| perl -spe 's/^\s+\d+\s+//' \ | |
| sed -e '/^CommitSyncScript.*$/d' \ | |
> AUTHORS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment