17 comments

[ 0.20 ms ] story [ 53.1 ms ] thread
This is cool. Is there any tool to get some kind of interesting stats like number of commits, your commit frequency, how much code you have changed, what are your "productive hours" and things like that.
I have no suggestions for the latter two, but number of commits / user / repo is doable in vanilla git:

  git shortlog -n -s
Also, check out the '--shortstat' flag available to commands such as diff and log.
This seems very similar to the (quite popular?) git-standup script.

https://github.com/kamranahmedse/git-standup

As someone that often works across multiple projects, I find the ability to do a recursive search through a directory of git repositories very valuable.

Nice one. Don't want to hack your post but I made something similar sometime ago https://github.com/kamranahmedse/git-standup

it does all of git-recall stuff (excluding diff) plus

- Multi repository usage

- Specify directory search depth

- Checking someone else's commits

- Commits from n days ago

- Changing the date format

- GPG

- Changing the Weekdays (e.g. SUN-THU)

- Fetch commits before showing standup

When I saw the name I thought it was about "recalling" as in a product recall, i.e. reverting.
git log --oneline --since=Yesterday --author=[whoever] works pretty well, but the navigable menu-style interface of this does look interesting.
May I suggest to add the --name-status flag? It clearly shows which files you touched, which I often find quite useful.