git today: know your work

Originally posted on Nakshtra:
Do you want to know all your git commits from different repositories and even from different branches? First, create this alias: git config –global alias.today “log –since=midnight –author=’John Roy’ –oneline” Here replace author name with yours. You can avoid hard-coding your name as follows: git config –global alias.today ‘!git log –since=midnight –author=”$(git config user.name)”…