Git: Git Log With Authors
In my never-ending quest
to better summarize my work at the end of the day using computers,
I discovered today the Git --author
flag. It works like this:
$ glg --since=midnight --author=dev+jwworth+mikechau@hashrocket.com
* 4ba91a8 (HEAD, origin/checkout, checkout) Add guard for manual entry
* 3a4e4c9 Seed a coupon and code and auto-apply in preview
* cb1adee Add discount
...
The alias glg
is discussed
here.
I use this when multiple developers or teams are committing throughout the day to the same repository, to disambiguate our work from others. Ready to paste into your billing software of choice.
Via jwworth/til.
Leave a comment