3 ms·
Plain old `git log` can handle most of this, if you care less for a nice interface. git log --author="tlbonnette@gmail.com" --since=1.days You can of course t
by Linell 10y ago
Plain old `git log` can handle most of this, if you care less for a nice interface.
git log --author="tlbonnette@gmail.com" --since=1.days
You can of course tweak the way that git log outputs too, to make it more readable.
Something like:
git log --pretty=format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset --abbrev-commit
can make it quite pretty.
- deathanatos 10y agoWhile I don't disagree, I still value tools like what the author posted. git log is a pretty powerful thing, and can do a lot of things; sometimes, it can do so much as to make it harder to see what you should do with it, and it's nice to see people's wrappers — even thin ones — that handle concrete use cases like this. His examples seem …prolific. I mildly hope his tool outputs something like "No commits for this author; must be out shaving the yaks" on the days when someone has nothing to commit. Perhaps he is working on a nicer code base than I.
- Zikes 10y agoThis tool wraps git log and offers multiple repository logging.
- mmagin 10y agoSimilarly I came up with some aliases long ago in my git config: day = log --all --abbrev-commit --date-order --date=relative --since='one day ago' --stat day-more = log --all --abbrev-commit --date-order --date=relative --since='one day ago' -p -w weekend = log --all --abbrev-commit --date-order --date=relative --since='three days ago' --stat weekend-more = log --all --abbrev-commit --date-order --date=relative --since='three days ago' -p -w