Last active
December 19, 2015 15:09
-
-
Save phalkunz/5974177 to your computer and use it in GitHub Desktop.
Git report today with yourself an author If you want (or you are asked) to review what you have done today the following command does just that.
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
git log --since='1am' --author=$(git config user.email) --format='%h — %an (%ar) %s' | |
# Output with colors | |
# $ git log --since='1am' --author=$(git config user.email) --format='%Cred%h%Creset — %an (%ar) %Cgreen%s%Creset' | |
# To set up git alias, run the following command once | |
# $ git config --global alias.log-today "log --since='1am' --author=$(git config user.email) --format='%h — %an (%ar) %s'" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment