Skip to content

sblondon/commitstats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

List added or modified files

cd ${GIT_REPOSITORY}
git log --since 2020-01-01 --until 2020-12-31 --name-status | grep -P "^[AM]\t" | cut -f 2 | sort | uniq -c | sed "s/^[ \t]*//" > stats.txt

stats.txt contains list for year 2020. Each line uses the format qty path.

Outputs statistics

mv stats.txt ${COMMITSTATS_DIR}
python3 analyze.py

Run tests

python3 tests_analyze.py

About

sumup file modifications for a git repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages