Created
June 1, 2017 07:08
-
-
Save mikaelz/75bb868078923c01213de98170d9fd72 to your computer and use it in GitHub Desktop.
List last month commits alias in ~/.gitconfig
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
[alias] | |
last-month = !git log --reverse --pretty=format:'%cd %h %s' --date=short --no-merges --since=$(date -d \"$(date +%Y-%m)-01 last month\" \"+%Y-%m-01\") --author=$(git config user.email) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment