Git/GitHub Total Number Of Lines Contributed For An Account
Asked Answered
H

1

7

I want to get the total number of lines of code that an account on GitHub has done. This is not for judging productivity or whatever (LOC is a poor choice for that), it's really just for our amusement.

Is it possible to get the total number of lines of code that an Account on GitHub (by email address or handle) has done?

Hickox answered 16/5, 2013 at 16:48 Comment(1)
The most direct solution would be to write a script that uses the GitHub API to locally clone all your repos and run cloc on them.Brushoff
F
5

You can use the GitHub API for that:

Fireweed answered 17/5, 2013 at 9:14 Comment(1)
/user/:user/repos does not list repositories to which user has contributed but is not an owner or member of (but has made pull requests).Modal

© 2022 - 2024 — McMap. All rights reserved.