I want to see the last activity on my Gitosis server, because we have a new service (Gitorious) and we think that Gitosis has been forgotten by the users. I can use this to see the numbers of commits:
cd /path/to/repos/ && ls | xargs -I % git --git-dir=% rev-list --all 2>/dev/null | wc -l
but this only shows the number, not the date.
Use the
--pretty
option, eg.See git-show for more information on "pretty" formats.