Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
643 views
in Technique[技术] by (71.8m points)

git - How to generate stats for a GitHub project?

Is there an easy/efficient way to generate some high-level reports for a particular GitHub project?

e.g. lines of code committed over time, top contributors, etc

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You can try applying gitstats to a cloned repo of your GitHub repo.

See for example the activity of the Git repo itself, with many data like the commits per year/month:

Commits by year/month


See also "Looking at Git Statistics", with the GitHub 'yearly_stats' for a simple little script.


Update April 2013 ("Get up to speed with Pulse"):

Check out Pulse

Pulse is a great way to discover recent activity on projects.
Maybe you haven't checked on your favorite repository in a while or you just discovered a project that looks interesting to you. Pulse will show you who has been actively committing and what has changed in a project's default branch:

Pulse

You can find the link to the left of the nav bar.

Link


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...