Why does the GitLab Graph show only commits and not Add / Removes?

From my previous projects, I used to check the Add-ons / Deletes made by each project participant, but now (new project). I see only the number of commits from each group member in the GitLab section Graph. This, however, turns out to be a little pointless, because even an online person can stand behind one commit and does not satisfy my need for information.

Since this is a university project, it is important to keep track of the overall contribution of each participant to the project.

How can I change it to display the actual add-on / delete numbers?

Thank.

+4
source share
2 answers

v7.4.0 GitLab - .

.

+2

Gitlab, , .

: https://coderwall.com/p/pek-yg/git-statistics-for-repo-per-author

git log --shortstat --author="Optional" | grep -E "fil(e|es) changed" | awk '{files+=$1; inserted+=$4; deleted+=$6} END {print "files changed: ", files, "lines inserted: ", inserted, "lines deleted: ", deleted }'
+7

Source: https://habr.com/ru/post/1570881/


All Articles