I need to use the git-log
command to create a report on the number of added and deleted rows by fixing on average between two dates.
I am currently using the command:
git log --since="2015-12-01" --until="2015-12-31" --shortstat
But I need to filter out some files in this process. Thoses files are automatically generated, and we do not want to see their impact. They are easily recognized by their name *.generated.*
I choose to use the git-log
command, I can get the report that I need, but I donβt see how to filter these unwanted files.
The document is large , I already read it several times, but I see nothing about filtering files based on their names. Is this possible, or do I need to find another command to find the number of rows added / deleted with commit?
source share