Created
December 2, 2021 02:38
-
-
Save marcinantkiewicz/0753925bc5408117ab0c1247e4640196 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function _gitlog_list_committers () { | |
DAYS=${1:-1}; # check last day unless more requested | |
git log --pretty=format:'%<(20)%cn %ce' \ # committer name and email | |
--after=$(date -v "-${DAYS}d" +%F) \ # in the past DAYS | |
--invert-grep --committer='GitHub' \ # just people, no bots | |
--all | \ # all branches | |
sort -u ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment