News for hackers. Stuff that matters.
Re:Git-Stats – A local GitHub-like contributions calendar by jayrhynas on Monday February 16, 2015 @10:00AM (#9057130)
Re:Git-Stats – A local GitHub-like contributions calendar by klapinat0r on Monday February 16, 2015 @12:00PM (#9057793)
Still doesn't work (for me, osx)

  user@host ~/tmp # npm install -g git-stats
  /usr/local/bin/git-stats -> /usr/local/lib/node_modules/git-stats/bin/git-stats
  [email protected] /usr/local/lib/node_modules/git-stats                                                                                                                                                       ├── [email protected]
  ├── [email protected]                                                                                                                                                                                       ├── [email protected] ([email protected])
  ├── [email protected]                                                                                                                                                                                            ├── [email protected] ([email protected])
  └── [email protected] ([email protected])                                                                                                                                                                       user@host ~/tmp # npm install -g git-stats-importer                                                                                                                                                         /usr/local/bin/git-stats-importer -> /usr/local/lib/node_modules/git-stats-importer/bin/git-stats-importer
  [email protected] /usr/local/lib/node_modules/git-stats-importer                                                                                                                                     ├── [email protected]
  ├── [email protected]                                                                                                                                                                                             ├── [email protected] ([email protected])
  ├── [email protected] ([email protected])                                                                                                                                                                       └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
  user@host ~/tmp # git clone https://github.com/IonicaBizau/git-stats
  Cloning into 'git-stats'...                                                                                                                                                                                 remote: Counting objects: 414, done.
  remote: Total 414 (delta 0), reused 0 (delta 0)                                                                                                                                                             Receiving objects: 100% (414/414), 47.08 KiB | 0 bytes/s, done.
  Resolving deltas: 100% (189/189), done.                                                                                                                                                                     Checking connectivity... done.
  user@host ~/tmp : cd git-stats
  user@host ~/tmp/git-stats # git-stats-importer
  info  Done.
  user@host ~/tmp/git-stats # git stats
  ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
  ║   Mar      Apr      May      Jun      Jul      Aug      Sep      Oct      Nov      Dec      Jan      Feb       ║
  ║Sun   ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ║
  ║Mon   ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ║
  ║Tue   ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■   ║
  ║Wed   ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■   ║
  ║Thu   ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■   ║
  ║Fri   ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■   ║
  ║Sat   ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■   ║
  ║--------------------------------------------------------------------------------------------------------------  ║
  ║Contributions in the last year: 0 | Longest Streak: 0 days | Current Streak: 0 days | Max a day: 0              ║
  ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
  user@host ~/tmp/git-stats # cat $HOME/.git-stats
  {}
Re:Git-Stats – A local GitHub-like contributions calendar by jayrhynas on Monday February 16, 2015 @12:47PM (#9058080)
git-stats-importer also only imports commits by the user set in the global user.email config. Since you haven't made any commits to the git-stats repo, it doesn't show anything.

Edit: it will use the local user.email if that is set. It also will use the GIT_AUTHOR_EMAIL but only as a fallback if user.email is unset

Re:Git-Stats – A local GitHub-like contributions calendar by klapinat0r on Monday February 16, 2015 @12:58PM (#9058142)
Ah, I see. A bit annoying when using more than one user.email across projects. But git-cal works okay :)

Thanks for the info.