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)” –oneline’
Then, before leaving office for a well-deserved rest, you can reflect on what you’ve accomplished during your working day by issuing this simple command:
That’s it 🙂