FAQ
How do I generate statistics of a non-master branch?
Use the
-c commit_end=develparameter.I have files in my git repository that I would like to exclude from the statistics. How do I do that?
At the moment, the only way is to use git-filter-branch(1) to create a temporary repository and generate the statistics from that.
How do I merge author information when the same author has made commits using different names or emails?
GitStats automatically merges authors who share the same email address, so commits made under different display names (e.g.
Xianpeng ShenvsXianpeng) are unified under the most recently used name with no extra configuration needed.For cases where the same person has used different email addresses, use Git’s
.mailmapfeature to map them to a single canonical identity, as described in the gitmailmap documentation.