Created
November 14, 2013 16:56
-
-
Save michaelminter/7470287 to your computer and use it in GitHub Desktop.
Show today and yesterday git activity # commits log
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 today | |
git config --global alias.today '!git log --since=midnight --author="$(git config user.name)" --oneline' | |
# git yesterday | |
git config --global alias.yesterday '!git log --graph --all --since="day.before.yesterday.midnight" --until=midnight --author="$(git config user.name)" --oneline' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment