Last active
August 29, 2015 14:11
-
-
Save dmitrinesterenko/e5a21bdf643644bd9621 to your computer and use it in GitHub Desktop.
Check git history for a current repo for the last x days
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
git log --since `date -d "-30 day" "+%F"` --pretty=medium |
Note the above works on Ubuntu OS but not on Mac OSX terminal, the reason is in difference of the date command, use the equivalent below
git log --since `date -v "-30d" "+%F"` --pretty=medium
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Optionally do a grep to search for particular authors: