I would like to write some webhooks to gather data about our users’ actions and right now I am interested in counting the number of lines added and deleted by each developer.
In each push event the webhook receives the commits pushed by the developer.
Is there a way to count the number of lines added or deleted by each commit?
This sounds cool! Do you mind sharing some more details of the webhook? I did a little bit of looking around and I believe this could be accomplished with a variation of git diff while using the –stat flag.