Skip to content

Instantly share code, notes, and snippets.

@atma
Created September 27, 2017 03:27
Show Gist options
  • Save atma/2defa39659690e6bfc7471f5333942b4 to your computer and use it in GitHub Desktop.
Save atma/2defa39659690e6bfc7471f5333942b4 to your computer and use it in GitHub Desktop.
Bash script for generating the list of authors in git repo
#!/bin/sh
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