Created
December 16, 2014 10:53
-
-
Save lukehedger/b5ec2bd59c11242d5472 to your computer and use it in GitHub Desktop.
Git today, git yesterday
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
# get a log of today's commits | |
$ git config --global alias.today '!git log --since=midnight --author="$(git config user.name)" --oneline' | |
$ git today | |
# get a log of yesterday's commits | |
$ git config --global alias.yday '!git log --graph --since=day.before.yesterday.midnight --until=midnight --author="$(git config user.name)" --oneline' | |
$ git yday |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Resource:
https://coderwall.com/p/7jbwww/git-today-quickly-see-what-you-ve-done-today