Define the AUTHOR_NAME
as an environment variable before calling the script:
$ AUTHOR_NAME="João" ./git_loc.sh
The outputs will be separated into three files:
João.csv
: File containing insertions, deletions, and file pathcommits.list
: File containing one commit id per linefiles.list
: File containing one modified file per line
To ignore specific file patterns, use multiple words.
$ AUTHOR_NAME="João" git_loc.sh yml py
The above command will ignore any file containing yml
and py
on the name.