0

I was wondering if there is a way to get git statistics for changed/added/removed lines per user for a specific filetype? i.e.: User A added 1.000.000 lines and removed 800.000. Is there a way to determine if the changes took place in files with i.e. .py extension?

Kind regards!

2
  • stackoverflow.com/a/2788077/7976758 Found in stackoverflow.com/… Commented Jan 25, 2022 at 14:35
  • 1
    You do have to do some manual tweaking, as in the sub-answers. You must find the commits by that author, then filter down to the desired file suffixes. Note that git show --stat $hash -- '**/*.py' should do the job pretty directly for each commit. Commented Jan 26, 2022 at 2:02

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.