Good one đ
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:
git today
Thatâs it đ